summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-add-project.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/openshift-add-project.yml')
-rw-r--r--playbooks/openshift-add-project.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/playbooks/openshift-add-project.yml b/playbooks/openshift-add-project.yml
new file mode 100644
index 0000000..5a027f1
--- /dev/null
+++ b/playbooks/openshift-add-project.yml
@@ -0,0 +1,31 @@
+- import_playbook: maintain.yml
+
+- name: Configure users
+ hosts: masters
+ roles:
+ - { role: ands_openshift, subrole: projects }
+ - { role: ands_openshift, subrole: users }
+ - { role: ands_openshift, subrole: security }
+ - { role: ands_openshift, subrole: storage }
+
+
+- name: Configure per-node {{ kaas_single_project }} project storage
+ hosts: ands_storage_servers, ands_new_storage_servers
+ roles:
+ - { role: ands_kaas, subrole: storage }
+ vars:
+ kaas_projects: "{{ ands_openshift_projects.keys() }}"
+ kaas_openshift_volumes: "{{ ands_openshift_volumes }}"
+ kaas_storage_types: [ 'host' ]
+ kaas_single_project: "{{ ands_configure_project }}"
+
+
+- name: "Configure project {{ kaas_single_project }}"
+ hosts: masters
+ roles:
+ - { role: ands_kaas }
+ vars:
+ kaas_openshift_volumes: "{{ ands_openshift_volumes }}"
+ kaas_projects: "{{ ands_openshift_projects.keys() }}"
+ kaas_single_project: "{{ ands_configure_project }}"
+