Skip to content

Simple Ansible role to install and configure a Traefik reverse proxy with Dashboard and auto-TLS support.

License

Notifications You must be signed in to change notification settings

myth/ansible-traefik-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traefik (in Docker) role for Ansible

Dependencies

  • Assumes Docker and Docker Compose are installed on the host

Usage

Create a playbook (traefik.yml) from this role:

---
- name: Install and configure Traefik reverse-proxy
  hosts: <your host group or individual host>
  roles:
    - role: roles/traefik
      traefik_domain: "mydomain.org"
      traefik_acme_email: "user@mydomain.org"
      traefik_dashboard_basicauth_users: ["user:$$apr1$$somehash"]

About

Simple Ansible role to install and configure a Traefik reverse proxy with Dashboard and auto-TLS support.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages