summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-setup-project.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-03-18 22:59:31 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-03-18 22:59:31 +0100
commit47f350bc3aa85a8bd406d95faf084df2abf74ae9 (patch)
tree72ad1e91bac46d3457f89781dc90f0d6c1c074d5 /playbooks/openshift-setup-project.yml
parent006f333828db373435daa15483d2ab753048f62a (diff)
downloadands-47f350bc3aa85a8bd406d95faf084df2abf74ae9.tar.gz
ands-47f350bc3aa85a8bd406d95faf084df2abf74ae9.tar.bz2
ands-47f350bc3aa85a8bd406d95faf084df2abf74ae9.tar.xz
ands-47f350bc3aa85a8bd406d95faf084df2abf74ae9.zip
Second revision: includes hostpath mounts, gluster block storage, kaas apps, etc.
Diffstat (limited to 'playbooks/openshift-setup-project.yml')
-rw-r--r--playbooks/openshift-setup-project.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/playbooks/openshift-setup-project.yml b/playbooks/openshift-setup-project.yml
index a4666e3..f7d80e9 100644
--- a/playbooks/openshift-setup-project.yml
+++ b/playbooks/openshift-setup-project.yml
@@ -3,6 +3,16 @@
roles:
- { role: ands_facts }
+- name: Configure per-node {{ kaas_single_project }} project storage
+ hosts: ands_storage_servers
+ roles:
+ - { role: ands_kaas, subrole: storage }
+ vars:
+ kaas_projects: "{{ ands_openshift_projects.keys() }}"
+ kaas_openshift_volumes: "{{ ands_openshift_volumes }}"
+ kaas_single_project: "{{ ands_configure_project }}"
+
+
- name: "Configure project {{ kaas_single_project }}"
hosts: masters
roles:
@@ -11,3 +21,4 @@
kaas_openshift_volumes: "{{ ands_openshift_volumes }}"
kaas_projects: "{{ ands_openshift_projects.keys() }}"
kaas_single_project: "{{ ands_configure_project }}"
+