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

adds pino config file which set debug on

pull/3257/head
Yan Minagawa 2 лет назад
Родитель
Сommit
7753384ad9
2 измененных файлов: 9 добавлений и 0 удалений
  1. +8
    -0
      roles/custom/matrix-bridge-appservice-polychat/tasks/setup_install.yml
  2. +1
    -0
      roles/custom/matrix-bridge-appservice-polychat/templates/pino.json.j2

+ 8
- 0
roles/custom/matrix-bridge-appservice-polychat/tasks/setup_install.yml Просмотреть файл

@@ -80,6 +80,14 @@
owner: "{{ matrix_user_username }}" owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}" group: "{{ matrix_user_groupname }}"


- name: Ensure matrix-appservice-polychat pino.json template exists
ansible.builtin.template:
src: "{{ role_path }}/templates/pino.json.j2"
dest: "{{ matrix_appservice_polychat_config_path }}/pino.json"
mode: 0644
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"

- name: Ensure appservice-polychat registration.yaml installed - name: Ensure appservice-polychat registration.yaml installed
ansible.builtin.copy: ansible.builtin.copy:
content: "{{ matrix_appservice_polychat_registration | to_nice_yaml(indent=2, width=999999) }}" content: "{{ matrix_appservice_polychat_registration | to_nice_yaml(indent=2, width=999999) }}"


+ 1
- 0
roles/custom/matrix-bridge-appservice-polychat/templates/pino.json.j2 Просмотреть файл

@@ -0,0 +1 @@
{"level":"debug"}

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