Skip to content
Snippets Groups Projects
Unverified Commit 59896809 authored by Florent Monbillard's avatar Florent Monbillard Committed by GitHub
Browse files

Make sure node_ip is set if node is in etcd group (#6719)

parent e1265b2e
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,8 @@
assert:
that: node_ip is defined and node_ip | length > 0
msg: "Etcd node ip is not set !"
when:
- inventory_hostname in groups['etcd']
- name: Lookup etcd member id
shell: "{{ bin_dir }}/etcdctl member list | grep {{ node_ip }} | cut -d, -f1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment