Make socat its own role
This commit is contained in:
6
roles/socat/handlers/main.yaml
Normal file
6
roles/socat/handlers/main.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: Restart socat socket for {{ socat_service_name }}
|
||||
ansible.builtin.set_fact:
|
||||
systemd_restart_units: "{{ systemd_restart_units + [socat_service_name ~ '-socat.socket'] }}" # noqa: var-naming[no-role-prefix]
|
||||
changed_when: true
|
||||
notify: Apply systemd unit restarts
|
||||
Reference in New Issue
Block a user