From 6039b8928ba8b172d95f10c9d0ae7880f393f2f7 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@vshn.ch>
Date: Fri, 22 Sep 2017 15:36:51 +0200
Subject: 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.
---
 playbooks/common/openshift-cluster/upgrades/post_control_plane.yml | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'playbooks/common/openshift-cluster')

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
-- 
cgit v1.2.3