Skip to content

warhorse/ansible-role-traefik-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Traefik (Docker)

CI warhorse.traefik_docker warhorse.traefik_docker warhorse.traefik_docker License Commit

Traefik Logo

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

traefik

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

About

Ansible Role for Traefik

Resources

License

Stars

Watchers

Forks

Packages

No packages published