In check mode, the error below is fired. This commit turn off the
creation and display of installation token in check mode.
TASK [icinga2-ansible-web2-ui : Icinga Web2 Installation finished]
********************************************************************************************************************************************************************************************
fatal: [phi-monitoring-test]: FAILED! => {"msg": "The task
includes an option with an undefined variable. The error was: 'dict
object' has no attribute 'stdout'\n\nThe error appears to have been in
'/home/accadiam/ansible/roles/icinga2-ansible/icinga2-ansible-web2-ui/tasks/main.yml':
line 15, column 3, but may\nbe elsewhere in the file depending on the
exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name:
Icinga Web2 Installation finished\n ^ here\n\nexception type: <class
'ansible.errors.AnsibleUndefinedVariable'>\nexception: 'dict object' has
no attribute 'stdout'"}
In check mode, the error below is fired. This commit turn off the creation and display of installation token in check mode.