summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master_certificates
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 /roles/openshift_master_certificates
parent72f295fc7cdef47bffbdffa35b263e120ac9ad93 (diff)
downloadopenshift-00e0d272cdeacdb4bfd78a65b0d282de9ee821dc.tar.gz
openshift-00e0d272cdeacdb4bfd78a65b0d282de9ee821dc.tar.bz2
openshift-00e0d272cdeacdb4bfd78a65b0d282de9ee821dc.tar.xz
openshift-00e0d272cdeacdb4bfd78a65b0d282de9ee821dc.zip
Cleanup various deprecation warnings.
Diffstat (limited to 'roles/openshift_master_certificates')
-rw-r--r--roles/openshift_master_certificates/tasks/main.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/openshift_master_certificates/tasks/main.yml b/roles/openshift_master_certificates/tasks/main.yml
index 9017b7d2b..394f9d381 100644
--- a/roles/openshift_master_certificates/tasks/main.yml
+++ b/roles/openshift_master_certificates/tasks/main.yml
@@ -4,14 +4,14 @@
path: "{{ openshift_generated_configs_dir }}/{{ item.master_cert_subdir }}"
state: directory
mode: 0700
- with_items: masters_needing_certs
+ with_items: "{{ masters_needing_certs | default([]) }}"
- file:
src: "{{ openshift_master_config_dir }}/{{ item.1 }}"
dest: "{{ openshift_generated_configs_dir }}/{{ item.0.master_cert_subdir }}/{{ item.1 }}"
state: hard
with_nested:
- - masters_needing_certs
+ - "{{ masters_needing_certs | default([]) }}"
-
- ca.crt
- ca.key
@@ -26,7 +26,7 @@
--cert-dir={{ openshift_generated_configs_dir }}/{{ item.master_cert_subdir }}
--overwrite=false
when: item.master_certs_missing | bool
- with_items: masters_needing_certs
+ with_items: "{{ masters_needing_certs | default([]) }}"
- file:
src: "{{ openshift_master_config_dir }}/{{ item.1 }}"
@@ -34,5 +34,5 @@
state: hard
force: true
with_nested:
- - masters_needing_certs
+ - "{{ masters_needing_certs | default([]) }}"
- "{{ hostvars[inventory_hostname] | certificates_to_synchronize }}"