traefik: Fix tor configuration include

This patch will change the name of the config file from `traefik` to
`traefik.conf`, since tor now includes `/etc/torrc.d/*.conf` in their
config file. This should make sure that the config is actually loaded.

This patch originates from the observation that new setups no longer
create the tor hidden service for traefik. Some investigation resulted
in the insight, that the tor node is no longer including the
configuration file.
This commit is contained in:
Sheogorath 2021-05-08 02:19:57 +02:00 committed by saibotk
parent 36e5ccffbc
commit c04955a168
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -69,7 +69,7 @@
- name: Setup tor config
copy:
src: traefik-tor.conf
dest: "{{ traefik_tor_config_location }}/traefik"
dest: "{{ traefik_tor_config_location }}/traefik.conf"
setype: "container_file_t"
selevel: "{{ traefik_tor_selinux_level | default(omit) }}"
mode: '0644'