summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@vshn.ch>2017-09-22 15:36:51 +0200
committerMichael Hanselmann <hansmi@vshn.ch>2017-10-23 14:59:53 +0200
commit6039b8928ba8b172d95f10c9d0ae7880f393f2f7 (patch)
tree152afc6e60bbafcc49b2ea4187690d9ce4103fd1 /playbooks/common/openshift-cluster
parentcd53b726430977bdd5cab772765bae3aed149727 (diff)
downloadopenshift-6039b8928ba8b172d95f10c9d0ae7880f393f2f7.tar.gz
openshift-6039b8928ba8b172d95f10c9d0ae7880f393f2f7.tar.bz2
openshift-6039b8928ba8b172d95f10c9d0ae7880f393f2f7.tar.xz
openshift-6039b8928ba8b172d95f10c9d0ae7880f393f2f7.zip
Add role to configure project request template
The OpenShift master role already supports changing the master configuration to refer to a project template, but there's no way to manage that template directly. This role adds the necessary code to generate a default template and to apply customizations using the "yedit" module.
Diffstat (limited to 'playbooks/common/openshift-cluster')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/post_control_plane.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
index 122066955..e2d74065a 100644
--- a/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
+++ b/playbooks/common/openshift-cluster/upgrades/post_control_plane.yml
@@ -85,6 +85,8 @@
roles:
- openshift_manageiq
+ - role: openshift_project_request_template
+ when: openshift_project_request_template_manage
# Create the new templates shipped in 3.2, existing templates are left
# unmodified. This prevents the subsequent role definition for
# openshift_examples from failing when trying to replace templates that do