summaryrefslogtreecommitdiffstats
path: root/roles/etcd_common/tasks
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-02-02 13:46:41 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-02-02 13:46:41 -0500
commit8729ef23ff37a51a8c13a825e740171bbeed0031 (patch)
treebad309bd3d166a95a6235ced0a809775a1d53e26 /roles/etcd_common/tasks
parent28df951a35946b42aa5497cabec220258bb9074f (diff)
downloadopenshift-8729ef23ff37a51a8c13a825e740171bbeed0031.tar.gz
openshift-8729ef23ff37a51a8c13a825e740171bbeed0031.tar.bz2
openshift-8729ef23ff37a51a8c13a825e740171bbeed0031.tar.xz
openshift-8729ef23ff37a51a8c13a825e740171bbeed0031.zip
Do not apply the etcd_certificates role during node playbook.
Diffstat (limited to 'roles/etcd_common/tasks')
-rw-r--r--roles/etcd_common/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/etcd_common/tasks/main.yml b/roles/etcd_common/tasks/main.yml
index cd108495d..be75fdab2 100644
--- a/roles/etcd_common/tasks/main.yml
+++ b/roles/etcd_common/tasks/main.yml
@@ -5,9 +5,9 @@
- fail:
msg: "Interface {{ item.value.etcd_interface }} not found on host {{ item.key }}"
when: "'etcd_interface' in item.value and 'interface' not in item.value"
- with_dict: etcd_host_int_map
+ with_dict: etcd_host_int_map | default({})
- fail:
msg: IPv4 address not found for {{ item.value.interface.device }} on host {{ item.key }}
when: "'ipv4' not in item.value.interface or 'address' not in item.value.interface.ipv4"
- with_dict: etcd_host_int_map
+ with_dict: etcd_host_int_map | default({})