summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
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 }