Commit 68ff54ed authored by Assaf Flatto's avatar Assaf Flatto

Add token generation and presenation

parent b3128d4a
......@@ -122,7 +122,15 @@
- monitoring
- translation
- name: Icinga Web2 Installation finished (Debian)
- name: Get setup token.
shell: 'icingacli setup token create | sed "s/.*token is: \(.*\)/\1/g"'
register: setup_token
tags: token
- name: Icinga Web2 Installation finished (RH)
debug:
msg: "Now generate a token with 'icingacli setup token create' and visit http://SERVERIP/icingaweb2/setup to continue the installation"
tags: icinga2-ansible-web2-ui-install
msg="The WebUI token is {{ setup_token.stdout }}, us it at http://IP//icingaweb2/setup to continue the installation"
tags:
- icinga2-ansible-web2-ui-install
- token
......@@ -89,6 +89,14 @@
- "{{ web_server_daemon }}"
- icinga2
- name: Get setup token.
shell: 'icingacli setup token create | sed "s/.*token is: \(.*\)/\1/g"'
register: setup_token
tags: token
- name: Icinga Web2 Installation finished (RH)
debug: msg="Now generate a token with 'icingacli setup token create' and go at http://IP//icingaweb2/setup to continue the installation"
tags: icinga2-ansible-web2-ui-install
debug:
msg="The WebUI token is {{ setup_token.stdout }}, us it at http://IP//icingaweb2/setup to continue the installation"
tags:
- icinga2-ansible-web2-ui-install
- token
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment