|
@@ -75,21 +75,13 @@
|
|
|
args:
|
|
|
chdir: /home/lab/{{ node.cluster }}
|
|
|
|
|
|
-- name: Make sure the publish directory is there
|
|
|
- file:
|
|
|
- path: "{{ ignitions_directory }}/{{ cluster_name }}"
|
|
|
- state: directory
|
|
|
- mode: 0755
|
|
|
+- name: Publish ignition configs
|
|
|
+ copy:
|
|
|
+ src: /home/lab/{{ node.cluster }}/bootstrap-in-place-for-live-iso.ign
|
|
|
+ dest: "{{ ignitions_directory }}/{{ node.cluster }}-{{ node.name }}.ign"
|
|
|
+ remote_src: yes
|
|
|
+ mode: 0644
|
|
|
owner: root
|
|
|
group: root
|
|
|
|
|
|
-#- name: Publish ignition configs
|
|
|
-# copy:
|
|
|
-# src: /home/lab/{{ node.cluster }}/{{ node.name }}.ign
|
|
|
-# dest: "{{ ignitions_directory }}/{{ cluster_name }}/{{ role }}.ign"
|
|
|
-# remote_src: yes
|
|
|
-# mode: 0644
|
|
|
-# owner: root
|
|
|
-# group: root
|
|
|
-
|
|
|
...
|