summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-management/private/config.yml
blob: 22f3ee8f3db364c711311f7c1bd5f288afd3c43f (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
34
35
36
37
38
39
---
- name: Management Install Checkpoint Start
  hosts: all
  gather_facts: false
  tasks:
  - name: Set Management install 'In Progress'
    run_once: true
    set_stats:
      data:
        installer_phase_management:
          status: "In Progress"
          start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"

- name: Setup CFME
  hosts: oo_first_master
  pre_tasks:
  - name: Create a temporary place to evaluate the PV templates
    command: mktemp -d /tmp/openshift-ansible-XXXXXXX
    register: r_openshift_management_mktemp
    changed_when: false

  tasks:
  - name: Run the CFME Setup Role
    import_role:
      name: openshift_management
    vars:
      template_dir: "{{ hostvars[groups.masters.0].r_openshift_management_mktemp.stdout }}"

- name: Management Install Checkpoint End
  hosts: all
  gather_facts: false
  tasks:
  - name: Set Management install 'Complete'
    run_once: true
    set_stats:
      data:
        installer_phase_management:
          status: "Complete"
          end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"