mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-23 04:55:46 +00:00
Merge pull request #3193 from meenzen/fix/conduit-config-override
fix: actually allow overriding the conduit config template
This commit is contained in:
commit
2cd3d4eedb
@ -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
|
# 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>/`)
|
# 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:
|
# 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"
|
matrix_conduit_template_conduit_config: "{{ role_path }}/templates/conduit/conduit.toml.j2"
|
||||||
|
|
||||||
# Max size for uploads, in bytes
|
# Max size for uploads, in bytes
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
- name: Ensure Conduit configuration installed
|
- name: Ensure Conduit configuration installed
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "{{ role_path }}/templates/conduit.toml.j2"
|
src: "{{ matrix_conduit_template_conduit_config }}"
|
||||||
dest: "{{ matrix_conduit_config_path }}/conduit.toml"
|
dest: "{{ matrix_conduit_config_path }}/conduit.toml"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
owner: "{{ matrix_user_username }}"
|
owner: "{{ matrix_user_username }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user