should be solid run

This commit is contained in:
2025-03-23 23:18:10 -05:00
parent ecb773c013
commit dffad1fc4a

View File

@@ -1,7 +1,7 @@
--- ---
- name: Create a directory if it does not exist - name: Create a directory if it does not exist
ansible.builtin.file: ansible.builtin.file:
path: "{{ hostvars[groups['matchbox'][0]].matchbox_assets }}/{{ hostvars[groups['hub-cluster'][0]].cluster_name }}" path: "{{ hostvars[groups['matchbox'][0]].assets }}/{{ hostvars[groups['hub-cluster'][0]].cluster_name }}"
state: directory state: directory
mode: '0755' mode: '0755'
become: true become: true
@@ -9,7 +9,7 @@
- name: Copy file with owner and permissions - name: Copy file with owner and permissions
ansible.builtin.copy: ansible.builtin.copy:
src: 03-openshift-image/boot-artifacts/ src: 03-openshift-image/boot-artifacts/
dest: "{{ hostvars[groups['matchbox'][0]].matchbox_assets }}/{{ hostvars[groups['hub-cluster'][0]].cluster_name }}/" dest: "{{ hostvars[groups['matchbox'][0]].assets }}/{{ hostvars[groups['hub-cluster'][0]].cluster_name }}/"
owner: matchbox owner: matchbox
group: matchbox group: matchbox
mode: '0644' mode: '0644'