summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master/revert-client-ca.yml
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-11-16 14:18:58 -0500
committerRussell Teague <rteague@redhat.com>2017-11-22 08:32:57 -0500
commit78f11c8f671015d40a630208b548d0790ec3a823 (patch)
tree59dc57f13d23edc34d86c76aaf3f758a2fec9718 /playbooks/common/openshift-master/revert-client-ca.yml
parent16e4acfe143e954c07c774c5c163fbd4ff1e4647 (diff)
downloadopenshift-78f11c8f671015d40a630208b548d0790ec3a823.tar.gz
openshift-78f11c8f671015d40a630208b548d0790ec3a823.tar.bz2
openshift-78f11c8f671015d40a630208b548d0790ec3a823.tar.xz
openshift-78f11c8f671015d40a630208b548d0790ec3a823.zip
Playbook Consolidation - openshift-master
Diffstat (limited to 'playbooks/common/openshift-master/revert-client-ca.yml')
-rw-r--r--playbooks/common/openshift-master/revert-client-ca.yml17
1 files changed, 0 insertions, 17 deletions
diff --git a/playbooks/common/openshift-master/revert-client-ca.yml b/playbooks/common/openshift-master/revert-client-ca.yml
deleted file mode 100644
index 9ae23bf5b..000000000
--- a/playbooks/common/openshift-master/revert-client-ca.yml
+++ /dev/null
@@ -1,17 +0,0 @@
----
-- name: Set servingInfo.clientCA = ca.crt in master config
- hosts: oo_masters_to_config
- tasks:
- - name: Read master config
- slurp:
- src: "{{ openshift.common.config_base }}/master/master-config.yaml"
- register: g_master_config_output
-
- # servingInfo.clientCA may be set as the client-ca-bundle.crt from
- # CA redeployment and this task reverts that change.
- - name: Set servingInfo.clientCA = ca.crt in master config
- modify_yaml:
- dest: "{{ openshift.common.config_base }}/master/master-config.yaml"
- yaml_key: servingInfo.clientCA
- yaml_value: ca.crt
- when: (g_master_config_output.content|b64decode|from_yaml).servingInfo.clientCA != 'ca.crt'