summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-02-26 11:44:26 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-02-26 11:50:20 -0500
commit61b55d0cb1a9d5cc7ab282fc9f76f4fe6035d3c8 (patch)
tree677c90e53aefd3eed5ddb79ed38552fc443c600a /roles
parentb9a364c1025e1c3075ac2bc8e26f3ceb4d42cb2b (diff)
downloadopenshift-61b55d0cb1a9d5cc7ab282fc9f76f4fe6035d3c8.tar.gz
openshift-61b55d0cb1a9d5cc7ab282fc9f76f4fe6035d3c8.tar.bz2
openshift-61b55d0cb1a9d5cc7ab282fc9f76f4fe6035d3c8.tar.xz
openshift-61b55d0cb1a9d5cc7ab282fc9f76f4fe6035d3c8.zip
Synchronize master kube configs
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_master_certificates/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/openshift_master_certificates/tasks/main.yml b/roles/openshift_master_certificates/tasks/main.yml
index 72869a592..38b48e98c 100644
--- a/roles/openshift_master_certificates/tasks/main.yml
+++ b/roles/openshift_master_certificates/tasks/main.yml
@@ -27,3 +27,12 @@
--overwrite=false
when: item.master_certs_missing | bool
with_items: masters_needing_certs
+
+- file:
+ src: "{{ openshift_master_config_dir }}/{{ item.1 }}"
+ dest: "{{ openshift_generated_configs_dir }}/{{ item.0.master_cert_subdir }}/{{ item.1 }}"
+ state: hard
+ force: true
+ with_nested:
+ - masters_needing_certs
+ - "{{ hostvars[openshift.common.hostname] | certificates_to_synchronize }}"