ansible-consul
ansible-consul copied to clipboard
"Enable consul at startup" fail on dry-run
We got this error when executing dry-run. We suspect this is because the consul is not installed, the job to install consul is failing on dry-run.
This task should also has ignore_errors: "{{ ansible_check_mode }}"
TASK [ansible-consul : Enable consul at startup (systemd)] *********************
fatal: [instance_01]: FAILED! => {"changed": false, "msg": "Could not find the requested service consul: host"}
fatal: [instance_02]: FAILED! => {"changed": false, "msg": "Could not find the requested service consul: host"}