ansible-collections / ansible-consul

:satellite: Ansible role for Hashicorp Consul clusters

Home Page:https://galaxy.ansible.com/ansible-community/consul/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Enable consul at startup" fail on dry-run

walbertus opened this issue · 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"}