-
Notifications
You must be signed in to change notification settings - Fork 59
/
deploy_prerequisites.yml
35 lines (26 loc) · 1.07 KB
/
deploy_prerequisites.yml
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
---
- name: Prereq fact checks
ansible.builtin.import_playbook: prereq_facts_check.yml
- name: Play to populate image_hashes for relevant images
hosts: localhost
roles:
- redhatci.ocp.get_image_hash
- name: Deploy NTP
ansible.builtin.import_playbook: playbooks/deploy_ntp.yml
- name: Deploy HTTP Store
ansible.builtin.import_playbook: playbooks/deploy_http_store.yml
- name: Create VMs
ansible.builtin.import_playbook: playbooks/create_vms.yml
vars:
nodes_to_process: "{{ groups['masters'] + groups['workers'] | default([]) }}"
- name: Deploy TFTP
ansible.builtin.import_playbook: playbooks/deploy_tftp.yml
- name: Deploy DNS
ansible.builtin.import_playbook: playbooks/deploy_dns.yml
- name: Deploy Registry
ansible.builtin.import_playbook: playbooks/deploy_registry.yml
- name: Deploy assisted installer on prem
ansible.builtin.import_playbook: playbooks/deploy_assisted_installer_onprem.yml
when: not ((use_agent_based_installer | default(true)) | bool)
- name: Deploy Sushy Tools
ansible.builtin.import_playbook: playbooks/deploy_sushy_tools.yml