hellofresh / ansible-consul

Ansible Role to install and configure consul
MIT License
15 stars 12 forks source link

Fix variable name #32

Closed rnurgaliyev closed 7 years ago

rnurgaliyev commented 7 years ago

What this PR changes:

This PR fixes following issue, wrongly considered as an Ansible bug: TASK [consul : adhoc | rebuild peers | Group by consul server] ***************** fatal: [concourse-meal-plan-worker005.tools.hellofresh.io]: FAILED! => {"failed": true, "msg": "The conditional check 'consul_adhoc_build_raft_peers is defined and consul_adhoc_build_raft_peers or consul_adhoc_clear-data-dir is defined and consul_adhoc_clear-data-dir' failed. The error was: error while evaluating conditional (consul_adhoc_build_raft_peers is defined and consul_adhoc_build_raft_peers or consul_adhoc_clear-data-dir is defined and consul_adhoc_clear-data-dir): 'consul_adhoc_clear' is undefined\n\nThe error appears to have been in '/automation/roles/external/consul/tasks/ad-hocs/build-raft-peers.yml': line 3, 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: adhoc | rebuild peers | Group by consul server\n ^ here\n"}

aleerizw-zz commented 7 years ago

+1

Approved with PullApprove Approved with PullApprove Approved with PullApprove