Skip to content

smartlogic/ansible-role-traefik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traefik

Basic traefik configuration

Install to requirements.yml

- src: [email protected]:smartlogic/ansible-role-traefik
  name: traefik
  version: 2.0.0

Requirements

None

Role Variables

  • traefik_version - Which version of traefik to download
    • Default: 3.4.1
  • traefik_checksum - The sha256 checksum of the traefik download, based on the linux_amd64 binary, checksums available at https://github.com/traefik/traefik/releases
  • traefik_config - The file to use for config.toml
    • Default: config.toml from the role
  • traefik_config_dir - The folder Traefik will watch for config files
    • Default: /opt/traefik/config
  • traefik_config_files - Array of other files to place in the config_dir
    • Default: []

Dependencies

None

Example Configuration

traefik_config: "{{ playbook_dir }}/files/traefik-config.toml"
traefik_config_files:
  - "{{ playbook_dir }}/files/app-config.toml"
  - "{{ playbook_dir }}/files/app-ssl.toml"

Example Playbook

- hosts: servers
  roles:
    - { role: traefik, tags: ["web", "traefik"] }

License

MIT

Author Information

SmartLogic. https://smartlogic.io

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages