Skip to content
Snippets Groups Projects
Commit b63d9006 authored by Spencer Smith's avatar Spencer Smith Committed by GitHub
Browse files

Workaround etcdctl not yet being installed (#797)

workaround case for etcdctl not yet being installed, only allow for return code of 0 (no error)
parent ac295de6
Branches
Tags
No related merge requests found
......@@ -48,4 +48,4 @@
{{ bin_dir }}/etcdctl --no-sync --peers={{ etcd_access_addresses | regex_replace('https','http') }} member list |
awk -F"[: =]" '{print "{{ bin_dir }}/etcdctl --peers={{ etcd_access_addresses | regex_replace('https','http') }} member update "$1" https:"$7":"$8}' | bash
run_once: true
when: 'etcd_member_list is defined and "http://" in etcd_member_list.stdout'
when: 'etcd_member_list.rc == 0 and "http://" in etcd_member_list.stdout'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment