diff options
| author | spmfox <spmfox@foxwd.com> | 2025-09-08 20:50:17 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2025-09-08 20:50:17 -0400 |
| commit | ef5ac13b358d8c8c8615c39ba1e428afb16ff96c (patch) | |
| tree | 1505be30dfaae385b50bddca849e77f7561b05ef /roles/containers/tasks/systemd_stop.yml | |
| parent | dffc9ae4f09c25fbd33c83bf79cdb5d30250764a (diff) | |
adding support for systemd files
Diffstat (limited to 'roles/containers/tasks/systemd_stop.yml')
| -rw-r--r-- | roles/containers/tasks/systemd_stop.yml | 8 |
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 }}" |
