mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 11:38:47 +00:00
🚸 Simplified env vars
This commit is contained in:
parent
bdcec28454
commit
77a7021f77
2 changed files with 8 additions and 10 deletions
|
@ -77,8 +77,6 @@ valheim_env:
|
|||
TYPE: "{{ valheim_type }}"
|
||||
SCHEDULED_RESTART: "{{ valheim_scheduled_restart }}"
|
||||
SCHEDULED_RESTART_SCHEDULE: "{{ valheim_scheduled_restart_schedule }}"
|
||||
|
||||
# valheim_optional_env:
|
||||
# WEBHOOK_URL: "{{ valheim_webhook_url }}"
|
||||
# WEBHOOK_INCLUDE_PUBLIC_IP: "{{ valheim_webhook_include_public_ip }}"
|
||||
# PRESET: "{{ valheim_preset }}"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
- "{{ valheim_port_a }}:2456/udp"
|
||||
- "{{ valheim_port_b }}:2457/udp"
|
||||
- "{{ valheim_port_c }}:2458/udp"
|
||||
env: "{{ valheim_optional_env | default({}) | combine(valheim_env) }}"
|
||||
env: "{{ valheim_env }}"
|
||||
restart_policy: unless-stopped
|
||||
memory: "{{ valheim_memory }}"
|
||||
capabilities:
|
||||
|
|
Loading…
Reference in a new issue