summaryrefslogtreecommitdiffstats
path: root/deployment/playbooks/ocp-configure.yaml
blob: 7a59f9ed95fabb818dbfc33daaff849931707500 (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
29
30
31
32
33
---
- hosts: localhost
  gather_facts: yes
  vars_files:
  - vars/main.yaml
  roles:
  # Group systems
  - instance-groups

- hosts: master
  gather_facts: yes
  vars_files:
  - vars/main.yaml
  tasks:
  - name: Enable Gluster 3 repo
    import_role:
      name: enable-gluster-repo
  - name: Install heketi client for CNS and CRS needs
    package:
      name: heketi-client
      state: latest
    retries: 5
    delay: 5
    register: result
    until: result is succeeded

- hosts: single_master
  gather_facts: no
  vars_files:
  - vars/main.yaml
  roles:
  - instance-groups
  - storage-class-configure