summaryrefslogtreecommitdiff
path: root/test/integration/targets/incidental_ufw/tasks/run-test.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/incidental_ufw/tasks/run-test.yml')
-rw-r--r--test/integration/targets/incidental_ufw/tasks/run-test.yml21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/integration/targets/incidental_ufw/tasks/run-test.yml b/test/integration/targets/incidental_ufw/tasks/run-test.yml
deleted file mode 100644
index e9c5d2929c..0000000000
--- a/test/integration/targets/incidental_ufw/tasks/run-test.yml
+++ /dev/null
@@ -1,21 +0,0 @@
----
-- pause:
- # ufw creates backups of the rule files with a timestamp; if reset is called
- # twice in a row fast enough (so that both timestamps are taken in the same second),
- # the second call will notice that the backup files are already there and fail.
- # Waiting one second fixes this problem.
- seconds: 1
-- name: Reset ufw to factory defaults
- ufw:
- state: reset
-- name: Disable ufw
- ufw:
- # Some versions of ufw have a bug which won't disable on reset.
- # That's why we explicitly deactivate here. See
- # https://bugs.launchpad.net/ufw/+bug/1810082
- state: disabled
-- name: "Loading tasks from {{ item }}"
- include_tasks: "{{ item }}"
-- name: Reset to factory defaults
- ufw:
- state: reset