summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-03-23 06:51:23 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-03-23 06:51:23 +0100
commitc163108c0c0c7b7a4f05da411e98ac0f503e31e0 (patch)
tree4934d1b2e98b0e8a94816848e44496e009e6755f /playbooks
parentcba41110aa086553192ed5a309a6b8031812c221 (diff)
downloadands-c163108c0c0c7b7a4f05da411e98ac0f503e31e0.tar.gz
ands-c163108c0c0c7b7a4f05da411e98ac0f503e31e0.tar.bz2
ands-c163108c0c0c7b7a4f05da411e98ac0f503e31e0.tar.xz
ands-c163108c0c0c7b7a4f05da411e98ac0f503e31e0.zip
Fix critical bug in docker provisioner, improve mysql performance, provision system users/groups to enable NFS group mapping, various minor fixes
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: