Skip to content

[DEV] Ansible playbook to deploy traefik as a systemd service

License

Notifications You must be signed in to change notification settings

mborne/ansible-traefik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-traefik

Ansible playbook to deploy Traefik as a systemd service for a DEV usage.

Description

  • Download binary from github releases (/opt/traefik/traefik)
  • Create a systemd service (/etc/systemd/system/traefik.service)
  • Configure traefik focussing on the exposition of docker containers running on a single host (/etc/traefik/traefik.toml)

Parameters

See comments in defaults/main.yml and templates/etc/traefik/traefik.toml.j2

Warning

Note that security and playbook stability is not guaranteed!

For example, a dedicated traefik user should be used to run the service (so it might change soon...).

Notes

License

MIT

About

[DEV] Ansible playbook to deploy traefik as a systemd service

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages