Make socat its own role
This commit is contained in:
28
roles/socat/meta/argument_specs.yaml
Normal file
28
roles/socat/meta/argument_specs.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
argument_specs:
|
||||
main:
|
||||
description: Sets up a socat container along with a systemd socket unit to forward traffic to it
|
||||
options:
|
||||
socat_service_name:
|
||||
description: Name of the socat service, used for systemd unit and container naming
|
||||
type: str
|
||||
required: true
|
||||
socat_target_container:
|
||||
description: Name of the container to forward traffic to
|
||||
type: str
|
||||
required: false
|
||||
default: "{{ socat_service_name }}"
|
||||
socat_target_http_port:
|
||||
description: Port on the target container to forward traffic to
|
||||
type: int
|
||||
required: true
|
||||
socat_container_ip:
|
||||
description: IP address to assign to the socat container.
|
||||
type: str
|
||||
required: false
|
||||
default: ""
|
||||
socat_auto_update:
|
||||
description: Whether to automatically update the socat container
|
||||
type: bool
|
||||
required: false
|
||||
default: true
|
||||
Reference in New Issue
Block a user