diff --git a/roles/vault/tasks/shared/gen_userpass.yml b/roles/vault/tasks/shared/gen_userpass.yml index ab3d171b8..f7e6340ae 100644 --- a/roles/vault/tasks/shared/gen_userpass.yml +++ b/roles/vault/tasks/shared/gen_userpass.yml @@ -12,6 +12,7 @@ policies: "{{ gen_userpass_role }}" status_code: 204 when: inventory_hostname == groups[gen_userpass_group]|first + ignore_errors: "{{ ansible_check_mode }}" - name: shared/gen_userpass | Ensure destination directory exists file: