summaryrefslogtreecommitdiffstats
path: root/playbooks/init/main.yml
blob: 06e8ba504896d70a076a898eb3f51fd9429f33bf (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: 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: facts.yml

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

- import_playbook: validate_hostnames.yml
  when: not (skip_validate_hostnames | default(False))

- import_playbook: version.yml
  when: not (skip_verison | 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') }}"