Просмотр исходного кода

Merge pull request #3193 from meenzen/fix/conduit-config-override

fix: actually allow overriding the conduit config template
pull/3194/head
Slavi Pantaleev 2 лет назад
committed by GitHub
Родитель
Сommit
2cd3d4eedb
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: B5690EEEBB952194
2 измененных файлов: 2 добавлений и 2 удалений
  1. +1
    -1
      roles/custom/matrix-conduit/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-conduit/tasks/setup_install.yml

+ 1
- 1
roles/custom/matrix-conduit/defaults/main.yml Просмотреть файл

@@ -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


+ 1
- 1
roles/custom/matrix-conduit/tasks/setup_install.yml Просмотреть файл

@@ -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 }}"


Загрузка…
Отмена
Сохранить