Reenable image handling;Configure Longhorn/Harbor
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -30,15 +30,15 @@
|
||||
loop_control:
|
||||
label: "{{ item.key }}"
|
||||
|
||||
#- name: Pull and store containerimages
|
||||
# ansible.builtin.command:
|
||||
# cmd: skopeo copy docker://{{ item }} docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
|
||||
# chdir: /opt/metacluster/container-images
|
||||
# loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
|
||||
- name: Pull and store containerimages
|
||||
ansible.builtin.command:
|
||||
cmd: skopeo copy docker://{{ item }} docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
|
||||
chdir: /opt/metacluster/container-images
|
||||
loop: "{{ containerimages.results | map(attribute='stdout_lines') | flatten }}"
|
||||
|
||||
#- name: Compress tarballs
|
||||
# community.general.archive:
|
||||
# dest: /opt/metacluster/container-images/image-tarballs.tgz
|
||||
# path: /opt/metacluster/container-images/*
|
||||
# format: gz
|
||||
# remove: yes
|
||||
- name: Compress tarballs
|
||||
community.general.archive:
|
||||
dest: /opt/metacluster/container-images/image-tarballs.tgz
|
||||
path: /opt/metacluster/container-images/*
|
||||
format: gz
|
||||
remove: yes
|
||||
|
Reference in New Issue
Block a user