Fix some CI lint errors

development
Julian-Samuel Gebühr 2 years ago
parent 73ebbdcacd
commit d2e6ab6c38

@ -4,8 +4,9 @@
matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-bot-maubot.service'] }}" matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-bot-maubot.service'] }}"
when: matrix_bot_maubot_enabled|bool when: matrix_bot_maubot_enabled|bool
- block:
- name: Generate Maubot proxying configuration for matrix-nginx-proxy - name: Generate Maubot proxying configuration for matrix-nginx-proxy
set_fact: ansible.builtin.set_fact:
matrix_bot_maubot_matrix_nginx_proxy_configuration: | matrix_bot_maubot_matrix_nginx_proxy_configuration: |
location ~ ^/(_matrix/maubot/.*) { location ~ ^/(_matrix/maubot/.*) {
{% if matrix_nginx_proxy_enabled|default(False) %} {% if matrix_nginx_proxy_enabled|default(False) %}
@ -25,7 +26,7 @@
when: matrix_bot_maubot_proxy_management_interface|bool when: matrix_bot_maubot_proxy_management_interface|bool
- name: Register Maubot's proxying configuration with matrix-nginx-proxy - name: Register Maubot's proxying configuration with matrix-nginx-proxy
set_fact: ansible.builtin.set_fact:
matrix_nginx_proxy_proxy_matrix_additional_server_configuration_blocks: | matrix_nginx_proxy_proxy_matrix_additional_server_configuration_blocks: |
{{ {{
matrix_nginx_proxy_proxy_matrix_additional_server_configuration_blocks|default([]) matrix_nginx_proxy_proxy_matrix_additional_server_configuration_blocks|default([])
@ -35,7 +36,7 @@
when: matrix_bot_maubot_proxy_management_interface|bool when: matrix_bot_maubot_proxy_management_interface|bool
- name: Warn about reverse-proxying if matrix-nginx-proxy not used - name: Warn about reverse-proxying if matrix-nginx-proxy not used
debug: ansible.builtin.debug:
msg: >- msg: >-
NOTE: You've enabled Maubot but are not using the matrix-nginx-proxy NOTE: You've enabled Maubot but are not using the matrix-nginx-proxy
reverse proxy. reverse proxy.

Loading…
Cancel
Save