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