hacking-robot / ansible-traefik-docker

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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_acme_email: "user@mydomain.org"
      traefik_dashboard_basicauth_users: ["user:$apr1$somehash"]

For a list of all options, see defaults/main.yml.

About

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

License:MIT License


Languages

Language:Python 87.3%Language:Makefile 11.2%Language:Dockerfile 1.5%