Przeglądaj źródła

Updat files for baibot: change config.yml.j2 → config.yaml.j2

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/4036/head
Suguru Hirahara 1 rok temu
rodzic
commit
30dad8ba27
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: E4F9743DAB4B7B75
4 zmienionych plików z 3 dodań i 3 usunięć
  1. +1
    -1
      roles/custom/matrix-bot-baibot/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-bot-baibot/tasks/install.yml
  3. +0
    -0
      roles/custom/matrix-bot-baibot/templates/config.yaml.j2
  4. +1
    -1
      roles/custom/matrix-bot-baibot/templates/systemd/matrix-bot-baibot.service.j2

+ 1
- 1
roles/custom/matrix-bot-baibot/defaults/main.yml Wyświetl plik

@@ -461,7 +461,7 @@ matrix_bot_baibot_configuration: "{{ matrix_bot_baibot_configuration_yaml | from
#
# For a more advanced customization, you can extend the default (see `matrix_bot_baibot_configuration_extension_yaml`)
# or completely replace this variable with your own template.
matrix_bot_baibot_configuration_yaml: "{{ lookup('template', 'templates/config.yml.j2') }}"
matrix_bot_baibot_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}"

matrix_bot_baibot_configuration_extension_yaml: |
# Your custom YAML configuration for baibot goes here.


+ 1
- 1
roles/custom/matrix-bot-baibot/tasks/install.yml Wyświetl plik

@@ -17,7 +17,7 @@
- name: Ensure baibot configuration installed
ansible.builtin.copy:
content: "{{ matrix_bot_baibot_configuration | to_nice_yaml(indent=2, width=999999) }}"
dest: "{{ matrix_bot_baibot_config_path }}/config.yml"
dest: "{{ matrix_bot_baibot_config_path }}/config.yaml"
mode: 0644
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"


roles/custom/matrix-bot-baibot/templates/config.yml.j2 → roles/custom/matrix-bot-baibot/templates/config.yaml.j2 Wyświetl plik


+ 1
- 1
roles/custom/matrix-bot-baibot/templates/systemd/matrix-bot-baibot.service.j2 Wyświetl plik

@@ -29,7 +29,7 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
--read-only \
--network={{ matrix_bot_baibot_container_network }} \
--env-file={{ matrix_bot_baibot_config_path }}/env \
--mount type=bind,src={{ matrix_bot_baibot_config_path }}/config.yml,dst=/app/config.yml,ro \
--mount type=bind,src={{ matrix_bot_baibot_config_path }}/config.yaml,dst=/app/config.yaml,ro \
--mount type=bind,src={{ matrix_bot_baibot_data_path }},dst=/data \
--tmpfs=/tmp:rw,noexec,nosuid,size=1024m \
{% for arg in matrix_bot_baibot_container_extra_arguments %}


Ładowanie…
Anuluj
Zapisz