summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-etcd
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-04-28 14:51:16 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-04-29 15:44:40 -0400
commit00e0d272cdeacdb4bfd78a65b0d282de9ee821dc (patch)
tree45f740d72a6bf666a11b583b845550114a2bb88f /playbooks/common/openshift-etcd
parent72f295fc7cdef47bffbdffa35b263e120ac9ad93 (diff)
downloadopenshift-00e0d272cdeacdb4bfd78a65b0d282de9ee821dc.tar.gz
openshift-00e0d272cdeacdb4bfd78a65b0d282de9ee821dc.tar.bz2
openshift-00e0d272cdeacdb4bfd78a65b0d282de9ee821dc.tar.xz
openshift-00e0d272cdeacdb4bfd78a65b0d282de9ee821dc.zip
Cleanup various deprecation warnings.
Diffstat (limited to 'playbooks/common/openshift-etcd')
-rw-r--r--playbooks/common/openshift-etcd/config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/common/openshift-etcd/config.yml b/playbooks/common/openshift-etcd/config.yml
index 01c092625..6cb3a954f 100644
--- a/playbooks/common/openshift-etcd/config.yml
+++ b/playbooks/common/openshift-etcd/config.yml
@@ -53,7 +53,7 @@
-C {{ etcd_generated_certs_dir }}/{{ item.etcd_cert_subdir }} .
args:
creates: "{{ etcd_generated_certs_dir }}/{{ item.etcd_cert_subdir }}.tgz"
- with_items: etcd_needing_server_certs
+ with_items: "{{ etcd_needing_server_certs | default([]) }}"
- name: Retrieve the etcd cert tarballs
fetch:
src: "{{ etcd_generated_certs_dir }}/{{ item.etcd_cert_subdir }}.tgz"
@@ -61,7 +61,7 @@
flat: yes
fail_on_missing: yes
validate_checksum: yes
- with_items: etcd_needing_server_certs
+ with_items: "{{ etcd_needing_server_certs | default([]) }}"
# Configure a first etcd host to avoid conflicts in choosing a leader
# if other members come online too quickly.