mirror of
https://github.com/KevinMidboe/playbooks-retailor.git
synced 2026-09-07 13:32:06 +00:00
play for installing traefik on lb servers
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
traefik_config_dir: "/etc/traefik"
|
||||
traefik_dynamic_dir: "/etc/traefik/dynamic"
|
||||
traefik_web_port: 80
|
||||
traefik_websecure_port: 443
|
||||
traefik_dashboard_port: 8080
|
||||
traefik_metrics_port: 8100
|
||||
traefik_dashboard_insecure: true # ufw should only allow from tailscale or vnet
|
||||
|
||||
domain: "{{ lookup('env', 'DOMAIN') | default('', true) }}"
|
||||
# Single source of truth for static routing. Expected to be overridden
|
||||
# from group_vars, -e, or an env-var lookup at the play level — see
|
||||
# playbook.yml for the TRAEFIK_ROUTES example.
|
||||
traefik_web_private_ips: "{{ lookup('env', 'WEB_IPS') | default('[]', true) | from_json }}"
|
||||
traefik_analytics_private_ip: "{{ lookup('env', 'ANALYTICS_IP') | default('', true) }}"
|
||||
Reference in New Issue
Block a user