Create OpenShift assets and move into place

This commit is contained in:
2025-03-22 23:29:34 -05:00
parent 8c00a98ae2
commit 2df2d32696
10 changed files with 125 additions and 72 deletions

View File

@@ -0,0 +1,15 @@
---
- name: Create a directory if it does not exist
ansible.builtin.file:
path: "{{ matchbox_assets }}/{{ hub_cluster_name }}"
state: directory
mode: '0755'
become: true
- name: Copy file with owner and permissions
ansible.builtin.copy:
src: 03-matchbox/boot-artifacts/
dest: "{{ matchbox_assets }}/{{ hub_cluster_name }}/"
owner: matchbox
group: matchbox
become: true