This commit is contained in:
parent
0ab6aaeaa5
commit
52660e1414
@ -45,14 +45,11 @@
|
|||||||
list_files: yes
|
list_files: yes
|
||||||
register: imagetarballs
|
register: imagetarballs
|
||||||
|
|
||||||
- ansible.builtin.debug:
|
|
||||||
var: imagetarballs
|
|
||||||
|
|
||||||
- name: Import container images
|
- name: Import container images
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: k3s ctr image import {{ item }}
|
cmd: k3s ctr image import {{ item }}
|
||||||
chdir: /opt/metacluster/container_images
|
chdir: /opt/metacluster/container_images
|
||||||
loop: "{{ imagetarballs.stdout_lines }}"
|
loop: "{{ imagetarballs.files }}"
|
||||||
|
|
||||||
- name: Delete redundant files
|
- name: Delete redundant files
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
Loading…
Reference in New Issue
Block a user