julienhmmt / ansible-traefik

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Goals

Little Ansible role to install Traefik from official GitHub repository, with a simple configuration.

Vars

Some variables are used in the file main.yml. Change the value of traefik_version and traefik_log_file, don’t forget to use it in your configurations files.

How to use it ?

Test it with molecule

Simple ! Use the venv.sh script to enter to the matrix (c).

source venv.sh

This virtualenv will bring you needed tools. You will in the virtualenv automatically. You are now ready to create virtual machines.

molecule create && molecule converge

When you’re all set, destroy it.

molecule destroy

Use this role in another ansible playbook

Incorpore this role on your playbook, in the file requirements.yml and go !

roles:
  - src: git@github.com:Mettmett/ansible-traefik.git
    scm: git

About


Languages

Language:Jinja 96.2%Language:Shell 3.8%