Skip to content

Commit 54e5a19

Browse files
committed
ignores errors when in check-mode and users doesnt exist yet
1 parent 9734df0 commit 54e5a19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/ssh_keys/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@
2727
loop: "{{ ssh_user_list }}"
2828
loop_control:
2929
loop_var: "ssh_user"
30+
ignore_errors: "{{ ansible_check_mode }}"
3031

3132
...

0 commit comments

Comments
 (0)