Tie up some loose ends for matrix-appservice-discord

This commit is contained in:
Slavi Pantaleev
2024-01-07 11:56:05 +02:00
parent 0994730f4d
commit bf11a3c2ca
3 changed files with 6 additions and 1 deletions

View File

@ -104,6 +104,11 @@
/bin/sh -c "node /build/tools/addbot.js > /cfg/invite_link"
changed_when: false
- name: Ensure matrix-appservice-discord container network is created
community.general.docker_network:
name: "{{ matrix_appservice_discord_container_network }}"
driver: bridge
- name: Ensure matrix-appservice-discord.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/matrix-appservice-discord.service.j2"

View File

@ -11,6 +11,7 @@
- {'name': 'matrix_appservice_discord_appservice_token', when: true}
- {'name': 'matrix_appservice_discord_homeserver_token', when: true}
- {'name': 'matrix_appservice_discord_homeserver_domain', when: true}
- {'name': 'matrix_appservice_discord_container_network', when: true}
- {'name': 'matrix_appservice_discord_database_hostname', when: "{{ matrix_appservice_discord_database_engine == 'postgres' }}"}
- name: (Deprecation) Catch and report renamed appservice-discord variables