fix: actually allow overriding the conduit config template

This commit is contained in:
Samuel Meenzen 2024-02-19 15:14:36 +01:00
parent 4ae2e95772
commit bb59e82bca
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ matrix_conduit_container_extra_arguments: []
# If you'd like to have your own different configuration, feel free to copy and paste
# the original files into your inventory (e.g. in `inventory/host_vars/<host>/`)
# and then change the specific host's `vars.yaml` file like this:
# matrix_conduit_template_conduit_config: "{{ playbook_dir }}/inventory/host_vars/<host>/conduit.yaml.j2"
# matrix_conduit_template_conduit_config: "{{ playbook_dir }}/inventory/host_vars/<host>/conduit.toml.j2"
matrix_conduit_template_conduit_config: "{{ role_path }}/templates/conduit/conduit.toml.j2"
# Max size for uploads, in bytes

View File

@ -18,7 +18,7 @@
- name: Ensure Conduit configuration installed
ansible.builtin.template:
src: "{{ role_path }}/templates/conduit.toml.j2"
src: "{{ matrix_conduit_template_conduit_config }}"
dest: "{{ matrix_conduit_config_path }}/conduit.toml"
mode: 0644
owner: "{{ matrix_user_username }}"