fix etcd_events_access_addresses

This commit is contained in:
elementyang 2018-06-23 00:04:19 +08:00
parent 6c2f169ea2
commit 70fbc01cc1

View file

@ -24,7 +24,7 @@
when: target_node == inventory_hostname when: target_node == inventory_hostname
- name: Join Member | Ensure member is in etcd-events cluster - name: Join Member | Ensure member is in etcd-events cluster
shell: "{{ bin_dir }}/etcdctl --no-sync --endpoints={{ etcd_events_access_addresses }} member list | grep -q {{ etcd_events_access_address }}" shell: "{{ bin_dir }}/etcdctl --no-sync --endpoints={{ etcd_events_access_addresses }} member list | grep -q {{ etcd_events_access_addresses }}"
register: etcd_events_member_in_cluster register: etcd_events_member_in_cluster
changed_when: false changed_when: false
check_mode: no check_mode: no