FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 5234877d authored by Sam Wenham's avatar Sam Wenham
Browse files

Allow the devops users role to ignore errors in checkmode. Otherwise if the...

Allow the devops users role to ignore errors in checkmode. Otherwise if the user doesn't exist it errors
parent 1b7ef17e
No related branches found
No related tags found
1 merge request!35Allow the devops users role to ignore errors in checkmode. Otherwise if the...
Pipeline #9163 passed
......@@ -13,6 +13,7 @@
key: "{{ lookup('file', 'public_keys/' + item.pub_key) }}"
state: absent
loop: "{{ ssh_revoked_keys }}"
ignore_errors: "{{ ansible_check_mode }}"
when: ssh_revoked_keys is defined
tags:
devops-ssh-users
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment