Name all tasks

This commit is contained in:
Julian-Samuel Gebühr 2022-07-20 09:00:47 +02:00
parent 04a817aeaa
commit f2dcbe5c9c
2 changed files with 11 additions and 3 deletions

View File

@ -29,7 +29,13 @@ matrix_bot_maubot_database_hostname: 'matrix-postgres'
matrix_bot_maubot_database_port: 5432 matrix_bot_maubot_database_port: 5432
matrix_bot_maubot_database_name: matrix_bot_maubot matrix_bot_maubot_database_name: matrix_bot_maubot
matrix_bot_maubot_database_connection_string: 'postgres://{{ matrix_bot_maubot_database_username }}:{{ matrix_bot_maubot_database_password }}@{{ matrix_bot_maubot_database_hostname }}:{{ matrix_bot_maubot_database_port }}/{{ matrix_bot_maubot_database_name }}?sslmode=disable' matrix_bot_maubot_database_connection_string: >
postgres://{{ matrix_bot_maubot_database_username }}
:{{ matrix_bot_maubot_database_password }}
@{{ matrix_bot_maubot_database_hostname }}
:{{ matrix_bot_maubot_database_port }}
/{{ matrix_bot_maubot_database_name }}
?sslmode=disable'
matrix_bot_maubot_database_uri: "{{ matrix_bot_maubot_database_uri: "{{
{ {

View File

@ -1,10 +1,12 @@
--- ---
- ansible.builtin.set_fact: - name: Add maubot to the systemd service list
ansible.builtin.set_fact:
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: Configure nginx for maubot
block:
- name: Generate Maubot proxying configuration for matrix-nginx-proxy - name: Generate Maubot proxying configuration for matrix-nginx-proxy
ansible.builtin.set_fact: ansible.builtin.set_fact:
matrix_bot_maubot_matrix_nginx_proxy_configuration: | matrix_bot_maubot_matrix_nginx_proxy_configuration: |