ソースを参照

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年前
コミット
66df132e66
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 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 \


読み込み中…
キャンセル
保存