Basic traefik configuration
- src: [email protected]:smartlogic/ansible-role-traefik
name: traefik
version: 2.0.0
None
traefik_version
- Which version of traefik to download- Default:
3.4.1
- Default:
traefik_checksum
- The sha256 checksum of the traefik download, based on thelinux_amd64
binary, checksums available at https://github.com/traefik/traefik/releasestraefik_config
- The file to use forconfig.toml
- Default:
config.toml
from the role
- Default:
traefik_config_dir
- The folder Traefik will watch for config files- Default:
/opt/traefik/config
- Default:
traefik_config_files
- Array of other files to place in the config_dir- Default:
[]
- Default:
None
traefik_config: "{{ playbook_dir }}/files/traefik-config.toml"
traefik_config_files:
- "{{ playbook_dir }}/files/app-config.toml"
- "{{ playbook_dir }}/files/app-ssl.toml"
- hosts: servers
roles:
- { role: traefik, tags: ["web", "traefik"] }
MIT
SmartLogic. https://smartlogic.io