Update 'ansible/roles/assets/tasks/containerimages.yml'
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:
parent
08a543e27f
commit
3674862ff4
@ -24,13 +24,6 @@
|
||||
loop_control:
|
||||
label: "{{ item.key }}"
|
||||
|
||||
- debug:
|
||||
var: chartimages
|
||||
- debug:
|
||||
var: kubeadmimages
|
||||
- debug:
|
||||
var: parsedmanifests
|
||||
|
||||
- name: Store container images in dicts
|
||||
ansible.builtin.set_fact:
|
||||
containerimages_{{ item.source }}: "{{ item.results }}"
|
||||
@ -38,19 +31,12 @@
|
||||
- source: charts
|
||||
results: "{{ chartimages | json_query('results[*].stdout_lines') | select() | flatten | list }}"
|
||||
- source: kubeadm
|
||||
results: "{{ kubeadmimages | json_query('results[*].stdout_lines') | select() | flatten | list }}"
|
||||
results: "{{ kubeadmimages.stdout_lines }}"
|
||||
- source: manifests
|
||||
results: "{{ parsedmanifests | json_query('results[*].stdout_lines') | select() | flatten | list }}"
|
||||
loop_control:
|
||||
label: "{{ item.source }}"
|
||||
|
||||
- debug:
|
||||
var: containerimages_charts
|
||||
- debug:
|
||||
var: containerimages_kubeadm
|
||||
- debug:
|
||||
var: containerimages_manifests
|
||||
|
||||
- name: Pull and store containerimages
|
||||
ansible.builtin.shell:
|
||||
cmd: >-
|
||||
|
Loading…
Reference in New Issue
Block a user