aws_cloud: better skip condition

fatal: [copr-be-dev.aws.fedoraproject.org]: FAILED! => {"msg": "'dict object' has no attribute 'files'. 'dict object' has no attribute 'files'"}
This commit is contained in:
Pavel Raiskup 2023-11-21 15:26:11 +01:00
parent 9917769f56
commit 7136d6003c

View file

@ -63,7 +63,7 @@
state: absent
loop: "{{ found_ssh_certs.files }}"
when:
- found_ssh_certs is success
- found_ssh_certs is not skipped
# from https://github.com/praiskup/ansible-role-fix-root-ssh
- name: allow root ssh connections