mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-25 02:18:31 +01:00
Fix some CI lint errors
This commit is contained in:
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
|
||||||
|
|
||||||
- name: Generate Maubot proxying configuration for matrix-nginx-proxy
|
- block:
|
||||||
set_fact:
|
- name: Generate Maubot proxying configuration for matrix-nginx-proxy
|
||||||
|
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) %}
|
||||||
@ -24,8 +25,8 @@
|
|||||||
}
|
}
|
||||||
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([])
|
||||||
@ -34,8 +35,8 @@
|
|||||||
}}
|
}}
|
||||||
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…
Reference in New Issue
Block a user