Add systemd_socket role

This commit is contained in:
uumas
2026-03-12 01:54:56 +02:00
parent 5b2b612b22
commit 499f042c75
7 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
---
- name: Restart socket {{ systemd_socket_name }}
ansible.builtin.set_fact:
systemd_restart_units: "{{ systemd_restart_units + [systemd_socket_name ~ '.socket'] }}" # noqa: var-naming[no-role-prefix]
changed_when: true
notify: Apply systemd unit restarts