Add native Traefik support to matrix-conduit

This commit is contained in:
Slavi Pantaleev
2024-01-11 08:56:51 +02:00
parent 3e0e92bdf7
commit 4639eebf12
7 changed files with 181 additions and 4 deletions

View File

@ -18,12 +18,22 @@
- name: Ensure Conduit configuration installed
ansible.builtin.template:
src: "{{ role_path }}/templates/conduit/conduit.toml.j2"
src: "{{ role_path }}/templates/conduit.toml.j2"
dest: "{{ matrix_conduit_config_path }}/conduit.toml"
mode: 0644
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure Conduit support files installed
ansible.builtin.template:
src: "{{ role_path }}/templates/{{ item }}.j2"
dest: "{{ matrix_conduit_base_path }}/{{ item }}"
mode: 0640
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
with_items:
- labels
- name: Ensure Conduit container network is created
community.general.docker_network:
name: "{{ matrix_conduit_container_network }}"
@ -42,6 +52,6 @@
- name: Ensure matrix-conduit.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/conduit/systemd/matrix-conduit.service.j2"
src: "{{ role_path }}/templates/systemd/matrix-conduit.service.j2"
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-conduit.service"
mode: 0644