This Ansible Role is deprecated, please migrate to arillso.traefik role, more detailed information about migrating can be found at Link
Installs and configures traefik as a docker container on a Linux docker environment.
ansible-galaxy install sbaerlocher.traefik
Although the template packaged with this role can be configured using variables, you may want to use your own Traefik configuration file:
- Create a
templates
directory at your playbook level - Create a
templates\traefik-conf.toml.j2
file (choose a different name from the default templatetraefik.toml.j2
) - Set the var
traefik_configuration_template
totraefik-conf.toml.j2
in your playbook
None
<<<<<<< HEAD
Variable | Default | Comments (type) |
---|---|---|
traefik_sendanonymoususage | false | |
traefik_debug | false | |
traefik_dir | /etc/traefik | |
traefik_hostname | "{{ inventory_hostname }}" | |
traefik_https | false | |
traefik_https_redirect | false | |
traefik_log_level | ERROR | |
traefik_network | traefik_default | |
traefik_api | false | |
traefik_ping | false | |
======= | ||
Variable | Default | Comments (type) |
:--- | :--- | :--- |
traefik_sendanonymoususage | false | |
traefik_debug | false | |
traefik_dir | /etc/traefik | |
traefik_hostname | "{{ inventory_hostname }}" | |
traefik_https | false | |
traefik_https_redirect | false | |
traefik_log_level | ERROR | |
traefik_network | traefik_default | |
traefik_api | false | |
traefik_ping | false | |
traefik_configuration_file | default provided |
cda21c0ac13bb8eb3feec470a1c2552995c898b4
None
- hosts: all
roles:
- sbaerlocher.traefik
- inital commit
This project is under the MIT License. See the LICENSE file for the full license text.
(c) 2018, Simon Bärlocher