From ef5ac13b358d8c8c8615c39ba1e428afb16ff96c Mon Sep 17 00:00:00 2001 From: spmfox Date: Mon, 8 Sep 2025 20:50:17 -0400 Subject: adding support for systemd files --- roles/containers/tasks/systemd_stop.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 roles/containers/tasks/systemd_stop.yml (limited to 'roles/containers/tasks/systemd_stop.yml') 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 }}" -- cgit