Skip to content

Commit

Permalink
Fix change to iso name
Browse files Browse the repository at this point in the history
  • Loading branch information
nocturnalastro committed Jan 30, 2023
1 parent 61cb7cb commit aad6d47
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion roles/generate_agent_iso/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
- infraenv.yaml
- nmstateconfig.yaml

- name: Remove agent-config.yml
file:
path: "{{ cluster_manifest_parent_dir }}/agent-config.yaml"
state: absent

- name: Generate ISO with agent-config
ansible.builtin.shell:
cmd: "{{ agent_based_installer_path }} --log-level=debug agent create image"
Expand All @@ -61,7 +66,7 @@

- name: Copy agent iso to discovery directory
ansible.builtin.copy:
src: "{{ cluster_manifest_parent_dir }}/agent.iso"
src: "{{ cluster_manifest_parent_dir }}/agent.{{ arch | default('x86_64') }}.iso"
dest: "{{ download_dest_path }}/{{ download_agent_dest_file }}"
mode: 0644
delegate_to: http_store
Expand Down
1 change: 1 addition & 0 deletions roles/validate_inventory/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ supported_ocp_versions:
- 4.9.45
- 4.10.37
- 4.11.24
- 4.12.0

single_node_openshift_enabled: "{{ is_valid_single_node_openshift_config | default(false) }}"

0 comments on commit aad6d47

Please sign in to comment.