Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Latest commit

 

History

History
45 lines (30 loc) · 942 Bytes

README.adoc

File metadata and controls

45 lines (30 loc) · 942 Bytes

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