Move matrix-bridge-mx-puppet-discord to its own container network

This commit is contained in:
Slavi Pantaleev
2024-01-08 17:03:48 +02:00
parent 5764c2cc67
commit 6d0ecb0269
5 changed files with 43 additions and 13 deletions

View File

@ -112,6 +112,11 @@
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure mx-puppet-discord container network is created
community.general.docker_network:
name: "{{ matrix_mx_puppet_discord_container_network }}"
driver: bridge
- name: Ensure matrix-mx-puppet-discord.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/matrix-mx-puppet-discord.service.j2"

View File

@ -10,3 +10,4 @@
- {'name': 'matrix_mx_puppet_discord_homeserver_address', when: true}
- {'name': 'matrix_mx_puppet_discord_homeserver_token', when: true}
- {'name': 'matrix_mx_puppet_discord_database_hostname', when: "{{ matrix_mx_puppet_discord_database_engine == 'postgres' }}"}
- {'name': 'matrix_mx_puppet_discord_container_network', when: true}