summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-setup-project.yml
blob: b36301bbe294d338f368e8aa1b026e28bf5496e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- name: Analyze Ands configuration
  hosts: nodes
  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_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 }}"