Open thomsbe opened 1 year ago
Adding to this as I'm having the same problem. I've narrowed it down to one line in the configs:
devture_traefik_config_entrypoint_web_secure_enabled causes an error when running the ansible playbook.
Edit: Adding some additional information. The playbook errors in galaxy/com.devture.ansible.role.traefik : Ensure provider.yml installed with the following error:
msg: |-
An unhandled exception occurred while templating '{{ devture_traefik_provider_configuration_yaml | from_yaml | combine(devture_traefik_provider_configuration_extension, recursive=True) }}'. Error was a <class 'yaml.scanner.ScannerError'>, original message: while scanning for the next token
found character that cannot start any token
in "<unicode string>", line 14, column 1
Turns out there is an error in devture.ansible.role.traefik which is addressed by this pull request:
https://github.com/devture/com.devture.ansible.role.traefik/pull/9
Describe the bug I try to enable the traefik dashboard. After inserting the vars and running ansible, it leads to a ansible error:
Without the dashboard config it runs fine.
To Reproduce My
vars.yml
file looks like this:Expected behavior Dashboards are enabled. At least, ansible runs without this error.
Matrix Server:
Ansible: Ansible runs on the host.
Additional context I'm running with traefik, fronted by Caddy2, because I have other services on the host, but I'm trying to migrate all those services to the traefik running in the playbook. On My way, I try to enable the dashboards to see what's going on.