Force apply manifests w/ handler;Add dependency
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-08-16 15:16:20 +02:00
parent d652cf0346
commit c57291af6d
5 changed files with 37 additions and 1 deletions

View File

@ -55,7 +55,6 @@
docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
chdir: /opt/metacluster/container-images
loop: "{{ (containerimages.results | map(attribute='stdout_lines') | flatten) + dependencies.container_images }}"
# loop: "{{ (containerimages.results | map(attribute='stdout_lines') | flatten) }}"
# - name: Inject manifests
# ansible.builtin.template:
@ -67,6 +66,11 @@
# loop: "{{ lookup('ansible.builtin.dict', components) | map(attribute='value.manifests') | list | select('defined') | flatten }}"
# loop_control:
# label: "{{ item.type + '/' + item.name }}"
# notify:
# - Apply manifests
# - name: Trigger handlers
# ansible.builtin.meta: flush_handlers
- name: Compress tarballs
community.general.archive:

View File

@ -38,3 +38,8 @@
loop: "{{ platform.packaged_components }}"
loop_control:
label: "{{ item.name }}"
notify:
- Apply manifests
- name: Trigger handlers
ansible.builtin.meta: flush_handlers