summaryrefslogtreecommitdiffstats
path: root/playbooks/init/main.yml
blob: 9886691e02f9f535603d979c1462e2e9b509cd77 (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
40
41
42
43
44
45
---
# skip_verison and l_install_base_packages are passed in via prerequistes.yml.
# skip_sanity_checks is passed in via openshift-node/private/image_prep.yml

- name: Initialization Checkpoint Start
  hosts: all
  gather_facts: false
  roles:
  - installer_checkpoint
  tasks:
  - name: Set install initialization 'In Progress'
    run_once: true
    set_stats:
      data:
        installer_phase_initialize:
          status: "In Progress"
          start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"

- import_playbook: evaluate_groups.yml

- import_playbook: basic_facts.yml

# base_packages needs to be setup for openshift_facts.py to run correctly.
- import_playbook: base_packages.yml
  when: l_install_base_packages | default(False) | bool

- import_playbook: cluster_facts.yml

- import_playbook: version.yml
  when: not (skip_verison | default(False))

- import_playbook: sanity_checks.yml
  when: not (skip_sanity_checks | default(False))

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