diff options
Diffstat (limited to 'playbooks/openshift-setup-projects.yml')
-rw-r--r-- | playbooks/openshift-setup-projects.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/playbooks/openshift-setup-projects.yml b/playbooks/openshift-setup-projects.yml index 164f91c..00aabfd 100644 --- a/playbooks/openshift-setup-projects.yml +++ b/playbooks/openshift-setup-projects.yml @@ -9,8 +9,20 @@ - { role: ands_openshift, subrole: users } - { role: ands_openshift, subrole: security } - { role: ands_openshift, subrole: storage } - - { role: ands_kaas } + +- name: Configure per-node 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 }}" + +- name: Configure users & user projects + hosts: masters + roles: + - { role: ands_kaas } + vars: + kaas_projects: "{{ ands_openshift_projects.keys() }}" + kaas_openshift_volumes: "{{ ands_openshift_volumes }}" |