Only check imports when root_gpgkeys is defined
This commit is contained in:
parent
d05c5d3086
commit
1dacc28f29
@ -31,7 +31,7 @@
|
|||||||
loop: "{{ gpg_check_import.results }}"
|
loop: "{{ gpg_check_import.results }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.item.item }}"
|
label: "{{ item.item.item }}"
|
||||||
when: (item.skipped | default(false) == false) and ('imported' not in item.stderr)
|
when: root_gpgkeys is defined and (item.skipped | default(false) == false) and ('imported' not in item.stderr)
|
||||||
|
|
||||||
- name: Install NTPsec
|
- name: Install NTPsec
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
Loading…
Reference in New Issue
Block a user