summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-setup-projects.yml
blob: 00aabfd2b74c9c356ade3e1e749605a60ad50f17 (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
26
27
28
- name: Analyze Ands configuration
  hosts: nodes
  roles:
    - { role: ands_facts }

- name: Configure users & user projects
  hosts: masters
  roles:
    - { role: ands_openshift, subrole: users }
    - { role: ands_openshift, subrole: security }
    - { role: ands_openshift, subrole: storage }

- 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 }}"