summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/ands-gluster-ganesha.yml8
-rw-r--r--playbooks/openshift-setup-project-groups.yml9
-rw-r--r--playbooks/openshift-setup-project.yml2
3 files changed, 18 insertions, 1 deletions
diff --git a/playbooks/ands-gluster-ganesha.yml b/playbooks/ands-gluster-ganesha.yml
index cbdf72c..d3a9c71 100644
--- a/playbooks/ands-gluster-ganesha.yml
+++ b/playbooks/ands-gluster-ganesha.yml
@@ -11,3 +11,11 @@
glusterfs_servers: "{{ ands_storage_servers }}"
glusterfs_bricks_path: "{{ ands_data_path }}/glusterfs"
glusterfs_domains: "{{ ands_storage_domains }}"
+ kaas_projects: "{{ ands_openshift_projects.keys() }}"
+
+- name: Configure GlusterFS cluster
+ hosts: ands_storage_servers, new_ands_storage_servers
+ roles:
+ - { role: ands_kaas, subrole: sysgroups }
+ vars:
+ kaas_projects: "{{ ands_openshift_projects.keys() }}"
diff --git a/playbooks/openshift-setup-project-groups.yml b/playbooks/openshift-setup-project-groups.yml
new file mode 100644
index 0000000..c7668ee
--- /dev/null
+++ b/playbooks/openshift-setup-project-groups.yml
@@ -0,0 +1,9 @@
+- import_playbook: maintain.yml
+
+- name: "Configure groups for {{ kaas_single_project }}"
+ hosts: ands_storage_servers, new_ands_storage_servers
+ roles:
+ - { role: ands_kaas, subrole: sysgroups }
+ vars:
+ kaas_projects: "{{ ands_openshift_projects.keys() }}"
+ kaas_single_project: "{{ ands_configure_project }}"
diff --git a/playbooks/openshift-setup-project.yml b/playbooks/openshift-setup-project.yml
index 8a8c49a..070cee7 100644
--- a/playbooks/openshift-setup-project.yml
+++ b/playbooks/openshift-setup-project.yml
@@ -1,7 +1,7 @@
- import_playbook: maintain.yml
- name: Configure per-node {{ kaas_single_project }} project storage
- hosts: ands_storage_servers
+ hosts: ands_storage_servers, ands_new_storage_servers
roles:
- { role: ands_kaas, subrole: storage }
vars: