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,9 @@
---
- name: Socket {{ systemd_socket_name }}
ansible.builtin.template:
src: socket.j2
dest: /etc/systemd/system/{{ systemd_socket_name }}.socket
mode: "0644"
notify:
- Reload systemd daemon
- Restart socket {{ systemd_socket_name }}