traefik
Ansible Role: traefik
This Ansible Role is deprecated, please migrate to arillso.traefik role, more detailed information about migrating can be found at Link
Description
Installs and configures traefik as a docker container on a Linux docker environment.
Installation
ansible-galaxy install sbaerlocher.traefik
Use your own Traefik configuration template
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
Requirements
None
Role Variables
<<<<<<< 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
Dependencies
None
Example Playbook
- hosts: all
roles:
- sbaerlocher.traefik
Changelog
1.0.0
- inital commit
Author
License
This project is under the MIT License. See the LICENSE file for the full license text.
Copyright
(c) 2018, Simon Bärlocher
About
Installs and configures traefik as a docker container on a Linux docker environment.
Install
ansible-galaxy install sbaerlocher/ansible.traefik
License
mit
Downloads
61594
Owner
Technology Evangelist / System Engineer by @whatwedo / Project Manager @arillso / @ansible and @nuxt fan / Based in #Bern