Use absolute path for etcdctl

Small fix. The shell module won't automatically resolve the path to the etcdctl binary, so i prefixed with {{ bin_dir }}/
This commit is contained in:
Chad Swenson
2016-10-20 14:56:52 -05:00
parent 1de127470f
commit e6902d8ecc
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
---
- name: Configure | Check if cluster is healthy
shell: "etcdctl --peers={{ etcd_access_addresses }} cluster-health | grep -q 'cluster is healthy'"
shell: "{{ bin_dir }}/etcdctl --peers={{ etcd_access_addresses }} cluster-health | grep -q 'cluster is healthy'"
register: etcd_cluster_is_healthy
ignore_errors: true
changed_when: false