Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oliverl-21/ansible-role-traefik-config
WIP - Ansible role to generate Traefik Configuration
https://github.com/oliverl-21/ansible-role-traefik-config
ansible-role traefik
Last synced: 6 days ago
JSON representation
WIP - Ansible role to generate Traefik Configuration
- Host: GitHub
- URL: https://github.com/oliverl-21/ansible-role-traefik-config
- Owner: oliverl-21
- License: mit
- Created: 2024-11-09T08:22:42.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-11-09T08:54:41.000Z (2 months ago)
- Last Synced: 2024-11-09T09:31:40.818Z (2 months ago)
- Topics: ansible-role, traefik
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Role Name
Ansible Role to generate dynamic configuration for a Bimary Traefik installation. Will also work in a docker setup but needs customization for the default variables
## Requirements
Role expects a folder Structure for the Traefik configuration like the following below
```shell
/etc/traefik # can be defined with var: {{ traefik_conf_path }}
├── conf.d
│ └── dynamic.yaml
├── ssl
│ └── acme.json
└── traefik.yaml
```## Role Variables
Global Role variables defined in `defaults/main.yml` with default values
```yaml
traefik_conf_path: "/etc/traefik"
traefik_dyn_conf_folder: "conf.d"
traefik_dyn_conf_file: "dynamic.yaml"
```## Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: username.rolename, x: 42 }## License
MIT