traefik_docker
Ansible Traefik (Docker)
Install Traefik (Docker)
This role is part of the Warhorse Automation Framework. This role can be used with Warhorse or as a standalone role.
Docker Image
Role Variables
A list of all the variables can be found in ./defaults/main.yml.
traefik_dir
- Traefik container directory
traefik_docker_version
- Docker image version
traefik_ports
- Traefik container ports
traefik_hostname
- Traefik container hostname
traefik_container_name
- Traefik container name
traefik_docker_network
- Traefik container docker network
Dependencies
ansible-galaxy install geerlingguy.docker geerlingguy.pip
Install
ansible-galaxy install warhorse.traefik_docker
Example Playbook
- hosts: servers
roles:
- { role: warhorse.traefik_docker }
Example Vars
traefik_hostname: "traefik"
traefik_container_name: "traefik"
traefik_docker_version: "latest"
traefik_docker_labels: {}
traefik_docker_network: "traefik"
traefik_dir: '/opt/docker/traefik'
traefik_ports:
- '80:80'
- '443:443'
License
MIT/BSD
Author Information
Ralph May
Install
ansible-galaxy install warhorse/ansible-role-traefik-docker
License
mit
Downloads
1361
Owner