summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/systemd/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/systemd/handlers/main.yml')
-rw-r--r--test/integration/targets/systemd/handlers/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/integration/targets/systemd/handlers/main.yml b/test/integration/targets/systemd/handlers/main.yml
new file mode 100644
index 0000000..57469a0
--- /dev/null
+++ b/test/integration/targets/systemd/handlers/main.yml
@@ -0,0 +1,12 @@
+- name: remove unit file
+ file:
+ path: /etc/systemd/system/sleeper@.service
+ state: absent
+
+- name: remove dummy indirect service
+ file:
+ path: "/etc/systemd/system/{{item}}"
+ state: absent
+ loop:
+ - dummy.service
+ - dummy.socket