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

Update files for matrix-registration-bot: change config.yml.j2 → config.yaml.j2

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4036/head
Suguru Hirahara 1 год назад
Родитель
Сommit
66df132e66
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
3 измененных файлов: 3 добавлений и 3 удалений
  1. +2
    -2
      roles/custom/matrix-bot-matrix-registration-bot/tasks/setup_install.yml
  2. +0
    -0
      roles/custom/matrix-bot-matrix-registration-bot/templates/config.yaml.j2
  3. +1
    -1
      roles/custom/matrix-bot-matrix-registration-bot/templates/systemd/matrix-bot-matrix-registration-bot.service.j2

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

@@ -15,8 +15,8 @@

- name: Ensure matrix-registration-bot configuration file created
ansible.builtin.template:
src: "{{ role_path }}/templates/config.yml.j2"
dest: "{{ matrix_bot_matrix_registration_bot_config_path }}/config.yml"
src: "{{ role_path }}/templates/config.yaml.j2"
dest: "{{ matrix_bot_matrix_registration_bot_config_path }}/config.yaml"
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
mode: 0640


roles/custom/matrix-bot-matrix-registration-bot/templates/config.yml.j2 → roles/custom/matrix-bot-matrix-registration-bot/templates/config.yaml.j2 Просмотреть файл


+ 1
- 1
roles/custom/matrix-bot-matrix-registration-bot/templates/systemd/matrix-bot-matrix-registration-bot.service.j2 Просмотреть файл

@@ -21,7 +21,7 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
--name=matrix-bot-matrix-registration-bot \
--log-driver=none \
--cap-drop=ALL \
-e "CONFIG_PATH=/config/config.yml" \
-e "CONFIG_PATH=/config/config.yaml" \
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
--read-only \
--mount type=bind,src={{ matrix_bot_matrix_registration_bot_config_path }},dst=/config,ro \


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