summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-05-10 13:59:19 +0200
committerGitHub <noreply@github.com>2017-05-10 13:59:19 +0200
commit44fc38242ab1badf95e31cd62fa013837269d0a2 (patch)
tree5948f0bb927da92301999695263096641a8255de /roles
parent402e8caa5bcbc22050bb4a4f189a802262ca725f (diff)
parent97f1861787f0eb7804824893cc0a523753098a20 (diff)
downloadopenshift-44fc38242ab1badf95e31cd62fa013837269d0a2.tar.gz
openshift-44fc38242ab1badf95e31cd62fa013837269d0a2.tar.bz2
openshift-44fc38242ab1badf95e31cd62fa013837269d0a2.tar.xz
openshift-44fc38242ab1badf95e31cd62fa013837269d0a2.zip
Merge pull request #4116 from abutcher/bz1448824
Fix additional master cert & client config creation
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_master_certificates/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_master_certificates/tasks/main.yml b/roles/openshift_master_certificates/tasks/main.yml
index 33a0af07f..2617efaf1 100644
--- a/roles/openshift_master_certificates/tasks/main.yml
+++ b/roles/openshift_master_certificates/tasks/main.yml
@@ -64,7 +64,7 @@
--signer-key={{ openshift_ca_key }}
--signer-serial={{ openshift_ca_serial }}
--overwrite=false
- when: inventory_hostname != openshift_ca_host
+ when: item != openshift_ca_host
with_items: "{{ hostvars
| oo_select_keys(groups['oo_masters_to_config'])
| oo_collect(attribute='inventory_hostname', filters={'master_certs_missing':True}) }}"
@@ -95,7 +95,7 @@
with_items: "{{ hostvars
| oo_select_keys(groups['oo_masters_to_config'])
| oo_collect(attribute='inventory_hostname', filters={'master_certs_missing':True}) }}"
- when: inventory_hostname != openshift_ca_host
+ when: item != openshift_ca_host
delegate_to: "{{ openshift_ca_host }}"
run_once: true