-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af5753d
commit e5bc559
Showing
25 changed files
with
157 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
--- | ||
- import_playbook: playbooks/validate_inventory.yml | ||
- name: Validate Inventory | ||
ansible.builtin.import_playbook: playbooks/validate_inventory.yml | ||
|
||
- import_playbook: playbooks/deploy_cluster_agent_based_installer.yml | ||
- name: Deploy cluster using agent based installer | ||
ansible.builtin.import_playbook: playbooks/deploy_cluster_agent_based_installer.yml | ||
when: (use_agent_based_installer | default(true)) | bool | ||
|
||
- import_playbook: playbooks/deploy_cluster_assisted_installer.yml | ||
- name: Deploy cluster using agent based installer | ||
ansible.builtin.import_playbook: playbooks/deploy_cluster_assisted_installer.yml | ||
when: not ((use_agent_based_installer | default(true)) | bool) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,35 @@ | ||
--- | ||
- import_playbook: prereq_facts_check.yml | ||
- 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 | ||
|
||
- import_playbook: playbooks/deploy_ntp.yml | ||
- name: Deploy NTP | ||
ansible.builtin.import_playbook: playbooks/deploy_ntp.yml | ||
|
||
- import_playbook: playbooks/deploy_http_store.yml | ||
- name: Deploy HTTP Store | ||
ansible.builtin.import_playbook: playbooks/deploy_http_store.yml | ||
|
||
- import_playbook: playbooks/create_vms.yml | ||
- name: Create VMs | ||
ansible.builtin.import_playbook: playbooks/create_vms.yml | ||
vars: | ||
nodes_to_process: "{{ groups['masters'] + groups['workers'] | default([]) }}" | ||
|
||
- import_playbook: playbooks/deploy_tftp.yml | ||
- name: Deploy TFTP | ||
ansible.builtin.import_playbook: playbooks/deploy_tftp.yml | ||
|
||
- import_playbook: playbooks/deploy_dns.yml | ||
- name: Deploy DNS | ||
ansible.builtin.import_playbook: playbooks/deploy_dns.yml | ||
|
||
- import_playbook: playbooks/deploy_registry.yml | ||
- name: Deploy Registry | ||
ansible.builtin.import_playbook: playbooks/deploy_registry.yml | ||
|
||
- import_playbook: playbooks/deploy_assisted_installer_onprem.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) | ||
|
||
- import_playbook: playbooks/deploy_sushy_tools.yml | ||
- name: Deploy Sushy Tools | ||
ansible.builtin.import_playbook: playbooks/deploy_sushy_tools.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
- name: Check for day2_discovery_iso_name if required | ||
assert: | ||
ansible.builtin.assert: | ||
that: | ||
- day2_discovery_iso_name is defined | ||
when: (groups['day2_workers'] | default([])) | length > 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
- name: Assert that partitions can be create on supported Openshift version | ||
assert: | ||
ansible.builtin.assert: | ||
that: | ||
- openshift_full_version is version('4.8', '>=') | ||
- openshift_full_version is version('4.8', '>=') | ||
fail_msg: "openshift_full_version must be >= 4.8." | ||
when: hostvars[item]['disks'] is defined | ||
loop: "{{ groups['nodes'] | default([]) }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
--- | ||
- import_tasks: ai.yml | ||
- name: Check installer vars | ||
ansible.builtin.import_tasks: ai.yml | ||
|
||
- import_tasks: dns.yml | ||
- name: Check DNS vars | ||
ansible.builtin.import_tasks: dns.yml |
Oops, something went wrong.