summaryrefslogtreecommitdiffstats
path: root/roles/etcd_common
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-02-02 15:25:27 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-02-02 15:25:27 -0500
commitfda67ef2addee2cb4cb982c8b9e0eb13bcf9ff7e (patch)
treea2d846e9bc37dc9220b49ffec06b716eb360d8a8 /roles/etcd_common
parentff8f2013a8dde61bc8fe57c545c716b9a3dc4098 (diff)
parent8729ef23ff37a51a8c13a825e740171bbeed0031 (diff)
downloadopenshift-fda67ef2addee2cb4cb982c8b9e0eb13bcf9ff7e.tar.gz
openshift-fda67ef2addee2cb4cb982c8b9e0eb13bcf9ff7e.tar.bz2
openshift-fda67ef2addee2cb4cb982c8b9e0eb13bcf9ff7e.tar.xz
openshift-fda67ef2addee2cb4cb982c8b9e0eb13bcf9ff7e.zip
Merge pull request #1325 from abutcher/fix-scaleup
Fix scaleup playbook.
Diffstat (limited to 'roles/etcd_common')
-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({})