ansible-consul icon indicating copy to clipboard operation
ansible-consul copied to clipboard

"Enable consul at startup" fail on dry-run

Open walbertus opened this issue 2 years ago • 0 comments

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"}

walbertus avatar Oct 12 '21 06:10 walbertus