Coder Social home page Coder Social logo

ansible.traefik's Introduction

Ansible Role: traefik

This Ansible Role is deprecated, please migrate to arillso.traefik role, more detailed information about migrating can be found at Link

Description

Installs and configures traefik as a docker container on a Linux docker environment.

Installation

ansible-galaxy install sbaerlocher.traefik

Use your own Traefik configuration template

Although the template packaged with this role can be configured using variables, you may want to use your own Traefik configuration file:

  1. Create a templates directory at your playbook level
  2. Create a templates\traefik-conf.toml.j2 file (choose a different name from the default template traefik.toml.j2)
  3. Set the var traefik_configuration_template to traefik-conf.toml.j2 in your playbook

Requirements

None

Role Variables

<<<<<<< HEAD

Variable Default Comments (type)
traefik_sendanonymoususage false
traefik_debug false
traefik_dir /etc/traefik
traefik_hostname "{{ inventory_hostname }}"
traefik_https false
traefik_https_redirect false
traefik_log_level ERROR
traefik_network traefik_default
traefik_api false
traefik_ping false
=======
Variable Default Comments (type)
:--- :--- :---
traefik_sendanonymoususage false
traefik_debug false
traefik_dir /etc/traefik
traefik_hostname "{{ inventory_hostname }}"
traefik_https false
traefik_https_redirect false
traefik_log_level ERROR
traefik_network traefik_default
traefik_api false
traefik_ping false
traefik_configuration_file default provided

cda21c0ac13bb8eb3feec470a1c2552995c898b4

Dependencies

None

Example Playbook

- hosts: all
  roles:
    - sbaerlocher.traefik

Changelog

1.0.0

  • inital commit

Author

License

This project is under the MIT License. See the LICENSE file for the full license text.

Copyright

(c) 2018, Simon Bärlocher

ansible.traefik's People

Contributors

f-lopes avatar sbaerlocher avatar

Watchers

 avatar  avatar  avatar  avatar

ansible.traefik's Issues

Describe Variables in the Readme.md

Currently, only the names and defaults of variables are listed in the readme. It would be nice if there was a description for each variable.

Ansible traefik handler deletes all configuration of the traefik container

Hello,
i noticed a strange behavior. When run role once on the server everything works fine. But if i only alter a configuration the traefik container results in to a none configured state.

All volumes, exported ports and so on are gone.

I forked your repo some days ago made some changes and altered the handler definition like this:

konekto@578ce62

Can your reproduce this behavior?
Best wishes,
Nicolas

traefik_log_level is not used

The variable traefik_log_level is stated in the readme, but in actuality, traefik_loglevel is used for setting the Log level

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.