Update files for matrix-registration-bot: change config.yml.j2 → config.yaml.j2
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
parent
0980339e70
commit
66df132e66
@ -15,8 +15,8 @@
|
|||||||
|
|
||||||
- name: Ensure matrix-registration-bot configuration file created
|
- name: Ensure matrix-registration-bot configuration file created
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "{{ role_path }}/templates/config.yml.j2"
|
src: "{{ role_path }}/templates/config.yaml.j2"
|
||||||
dest: "{{ matrix_bot_matrix_registration_bot_config_path }}/config.yml"
|
dest: "{{ matrix_bot_matrix_registration_bot_config_path }}/config.yaml"
|
||||||
owner: "{{ matrix_user_username }}"
|
owner: "{{ matrix_user_username }}"
|
||||||
group: "{{ matrix_user_groupname }}"
|
group: "{{ matrix_user_groupname }}"
|
||||||
mode: 0640
|
mode: 0640
|
||||||
|
@ -21,7 +21,7 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
|
|||||||
--name=matrix-bot-matrix-registration-bot \
|
--name=matrix-bot-matrix-registration-bot \
|
||||||
--log-driver=none \
|
--log-driver=none \
|
||||||
--cap-drop=ALL \
|
--cap-drop=ALL \
|
||||||
-e "CONFIG_PATH=/config/config.yml" \
|
-e "CONFIG_PATH=/config/config.yaml" \
|
||||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
--read-only \
|
--read-only \
|
||||||
--mount type=bind,src={{ matrix_bot_matrix_registration_bot_config_path }},dst=/config,ro \
|
--mount type=bind,src={{ matrix_bot_matrix_registration_bot_config_path }},dst=/config,ro \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user