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,16 @@
---
argument_specs:
main:
description:
- Adds a systemd socket for a service
options:
systemd_socket_name:
description: Name of the socket. The socket will be created at /run/<systemd_socket_name>.sock
type: str
required: true
systemd_socket_requires:
description: List of units this socket depends on.
type: list
required: false
default: []
elements: str