Phill93.ansible_role_traefik
Phill93 Traefik
Installs traefik in a docker container and configures it.
Requirements
- Docker (i use this one: geerlingguy.docker)
- Python docker library (for ansible)
Role Variables
traefik_static_conf:
providers:
file:
filename: /etc/traefik/dynamic_conf.yaml
entryPoints:
web:
address: :80
traefik_dynamic_conf: {}
traefik_ports:
- "80:80"
traefik_docker_sock: True
Example Playbook
- hosts: servers
roles:
- { role: Phill93.traefik}
License
Thanks for the markdown version goes to IQAndreas
Install
ansible-galaxy install Phill93.ansible_role_traefikLicense
mit
Downloads
48
Owner
