diff options
author | Jason DeTiberus <detiber@gmail.com> | 2016-04-29 16:16:28 -0400 |
---|---|---|
committer | Jason DeTiberus <detiber@gmail.com> | 2016-04-29 16:16:28 -0400 |
commit | 4068abc26265d2e7ec6e5829561e1c280f724aa9 (patch) | |
tree | 00681ae838975fef46a141a6026785b21dc837a7 /roles/openshift_master_certificates | |
parent | b9b08f0c169ad76bbbfaee85563fd3206464945a (diff) | |
parent | 17f949dc9815f3fa0061ae9ad0aa0dfffeb01202 (diff) | |
download | openshift-4068abc26265d2e7ec6e5829561e1c280f724aa9.tar.gz openshift-4068abc26265d2e7ec6e5829561e1c280f724aa9.tar.bz2 openshift-4068abc26265d2e7ec6e5829561e1c280f724aa9.tar.xz openshift-4068abc26265d2e7ec6e5829561e1c280f724aa9.zip |
Merge pull request #1839 from abutcher/v2-deprecations
Cleanup various deprecation warnings.
Diffstat (limited to 'roles/openshift_master_certificates')
-rw-r--r-- | roles/openshift_master_certificates/tasks/main.yml | 8 |
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 }}" |