You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/systemd/handlers/main.yml

23 lines
464 B
YAML

- 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
- name: remove enabled-runtime unit file
file:
path: /etc/systemd/system/baz.service
state: absent
- name: remove mask unit file
file:
path: /etc/systemd/system/mask_me.service
state: absent