summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-04-14 02:09:54 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-04-14 02:09:54 +0200
commit110ae6da8d80b63a068f4537383e775d958cf9a9 (patch)
tree1e3e84f1245d48518e0147400c6a3c624db10ee5 /playbooks
parent5b9f90a1b410a0464eaad713c00b287174da80d2 (diff)
downloadands-110ae6da8d80b63a068f4537383e775d958cf9a9.tar.gz
ands-110ae6da8d80b63a068f4537383e775d958cf9a9.tar.bz2
ands-110ae6da8d80b63a068f4537383e775d958cf9a9.tar.xz
ands-110ae6da8d80b63a068f4537383e775d958cf9a9.zip
Provide support for global OpenShift resources (ClusterRoles, etc.)
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/openshift-setup-projects.yml2
-rw-r--r--playbooks/openshift-setup-resources.yml7
-rw-r--r--playbooks/openshift-setup-users.yml1
3 files changed, 10 insertions, 0 deletions
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 }