aboutsummaryrefslogtreecommitdiff
path: root/roles/containers/tasks/systemd_stop.yml
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2025-09-08 20:50:17 -0400
committerspmfox <spmfox@foxwd.com>2025-09-08 20:50:17 -0400
commitef5ac13b358d8c8c8615c39ba1e428afb16ff96c (patch)
tree1505be30dfaae385b50bddca849e77f7561b05ef /roles/containers/tasks/systemd_stop.yml
parentdffc9ae4f09c25fbd33c83bf79cdb5d30250764a (diff)
adding support for systemd files
Diffstat (limited to 'roles/containers/tasks/systemd_stop.yml')
-rw-r--r--roles/containers/tasks/systemd_stop.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/containers/tasks/systemd_stop.yml b/roles/containers/tasks/systemd_stop.yml
new file mode 100644
index 0000000..51e4d72
--- /dev/null
+++ b/roles/containers/tasks/systemd_stop.yml
@@ -0,0 +1,8 @@
+- name: Stop systemd service
+ ansible.builtin.systemd_service:
+ name: "{{ item.name }}"
+ state: "stopped"
+ scope: "user"
+ loop_control:
+ label: "{{ item.name}}"
+ loop: "{{ containers_systemd }}"