Fix Remove revoked ceph apt-keys

when running the playbook it does appens that the apt_key task fails.
let's retry in case of failure to mimic the apt-key add that runs later.

Change-Id: Ie745496f515af1461bb8d03ba6b5c7cac5e71150
This commit is contained in:
Marc Gariepy 2021-03-04 14:53:28 -05:00
parent 8e7d64641c
commit 8948abae9a
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@
state: "absent"
register: revoke_keys
with_items: "{{ ceph_revoked_gpg_keys }}"
retries: 5
delay: 2
when:
- ceph_pkg_source == 'ceph'