diff --git a/test/integration/targets/copy/tasks/main.yml b/test/integration/targets/copy/tasks/main.yml index ae7ef753a6d..bef182b82b5 100644 --- a/test/integration/targets/copy/tasks/main.yml +++ b/test/integration/targets/copy/tasks/main.yml @@ -115,6 +115,7 @@ name: '{{ remote_unprivileged_user }}' state: absent remove: yes + force: yes - name: Remove sudoers.d file file: diff --git a/test/integration/targets/file/handlers/main.yml b/test/integration/targets/file/handlers/main.yml index b5040f6e255..553f69cecf5 100644 --- a/test/integration/targets/file/handlers/main.yml +++ b/test/integration/targets/file/handlers/main.yml @@ -3,6 +3,7 @@ name: "{{ item }}" state: absent remove: yes + force: yes loop: - test1 - test_uid diff --git a/test/integration/targets/file/tasks/state_link.yml b/test/integration/targets/file/tasks/state_link.yml index e3466a2ed01..851b213e322 100644 --- a/test/integration/targets/file/tasks/state_link.yml +++ b/test/integration/targets/file/tasks/state_link.yml @@ -181,6 +181,8 @@ user: name: '{{ remote_unprivileged_user }}' state: absent + force: yes + remove: yes - name: Delete unprivileged user home and tempdir file: