From 110ae6da8d80b63a068f4537383e775d958cf9a9 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 14 Apr 2018 02:09:54 +0200 Subject: Provide support for global OpenShift resources (ClusterRoles, etc.) --- playbooks/openshift-setup-projects.yml | 2 ++ playbooks/openshift-setup-resources.yml | 7 +++++++ playbooks/openshift-setup-users.yml | 1 + 3 files changed, 10 insertions(+) create mode 100644 playbooks/openshift-setup-resources.yml (limited to 'playbooks') diff --git a/playbooks/openshift-setup-projects.yml b/playbooks/openshift-setup-projects.yml index aac5eb0..350675e 100644 --- a/playbooks/openshift-setup-projects.yml +++ b/playbooks/openshift-setup-projects.yml @@ -3,6 +3,8 @@ - name: Configure users & user projects hosts: masters roles: + - { role: ands_openshift, subrole: projects } + - { role: ands_openshift, subrole: resources } - { role: ands_openshift, subrole: users } - { role: ands_openshift, subrole: security } - { role: ands_openshift, subrole: storage } diff --git a/playbooks/openshift-setup-resources.yml b/playbooks/openshift-setup-resources.yml new file mode 100644 index 0000000..b8d808b --- /dev/null +++ b/playbooks/openshift-setup-resources.yml @@ -0,0 +1,7 @@ +- import_playbook: maintain.yml + +- name: Configure OpenShift resources + hosts: masters + roles: + - { role: ands_openshift, subrole: resources } + diff --git a/playbooks/openshift-setup-users.yml b/playbooks/openshift-setup-users.yml index 03057d9..c819a9a 100644 --- a/playbooks/openshift-setup-users.yml +++ b/playbooks/openshift-setup-users.yml @@ -3,5 +3,6 @@ - name: Configure users hosts: masters roles: + - { role: ands_openshift, subrole: projects } - { role: ands_openshift, subrole: users } -- cgit v1.2.3