mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-24 18:08:28 +01:00
Minor mautrix-facebook fixes
This commit is contained in:
parent
20c7cabfe4
commit
8eb07e8d85
@ -38,9 +38,6 @@ matrix_mautrix_facebook_container_additional_networks: "{{ matrix_mautrix_facebo
|
||||
matrix_mautrix_facebook_container_additional_networks_auto: []
|
||||
matrix_mautrix_facebook_container_additional_networks_custom: []
|
||||
|
||||
# A list of extra arguments to pass to the container
|
||||
matrix_mautrix_facebook_container_extra_arguments: []
|
||||
|
||||
# matrix_mautrix_facebook_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
|
||||
# See `../templates/labels.j2` for details.
|
||||
#
|
||||
@ -63,7 +60,7 @@ matrix_mautrix_facebook_container_labels_metrics_enabled: "{{ matrix_mautrix_fac
|
||||
matrix_mautrix_facebook_container_labels_metrics_traefik_rule: "Host(`{{ matrix_mautrix_facebook_metrics_proxying_hostname }}`) && PathPrefix(`{{ matrix_mautrix_facebook_metrics_proxying_path_prefix }}`)"
|
||||
matrix_mautrix_facebook_container_labels_metrics_traefik_priority: 0
|
||||
matrix_mautrix_facebook_container_labels_metrics_traefik_entrypoints: "{{ matrix_mautrix_facebook_container_labels_traefik_entrypoints }}"
|
||||
matrix_mautrix_facebook_container_labels_metrics_traefik_tls: "{{ matrix_mautrix_facebook_container_labels_public_endpoint_traefik_entrypoints != 'web' }}"
|
||||
matrix_mautrix_facebook_container_labels_metrics_traefik_tls: "{{ matrix_mautrix_facebook_container_labels_metrics_traefik_entrypoints != 'web' }}"
|
||||
matrix_mautrix_facebook_container_labels_metrics_traefik_tls_certResolver: "{{ matrix_mautrix_facebook_container_labels_traefik_tls_certResolver }}" # noqa var-naming
|
||||
matrix_mautrix_facebook_container_labels_metrics_middleware_basic_auth_enabled: false
|
||||
# See: https://doc.traefik.io/traefik/middlewares/http/basicauth/#users
|
||||
@ -78,6 +75,9 @@ matrix_mautrix_facebook_container_labels_metrics_middleware_basic_auth_users: ''
|
||||
# another.label="here"
|
||||
matrix_mautrix_facebook_container_labels_additional_labels: ''
|
||||
|
||||
# A list of extra arguments to pass to the container
|
||||
matrix_mautrix_facebook_container_extra_arguments: []
|
||||
|
||||
# List of systemd services that matrix-mautrix-facebook.service depends on.
|
||||
matrix_mautrix_facebook_systemd_required_services_list: "{{ matrix_mautrix_facebook_systemd_required_services_list_default + matrix_mautrix_facebook_systemd_required_services_list_auto + matrix_mautrix_facebook_systemd_required_services_list_custom }}"
|
||||
matrix_mautrix_facebook_systemd_required_services_list_default: ['docker.service']
|
||||
|
@ -123,17 +123,17 @@
|
||||
with_items:
|
||||
- labels
|
||||
|
||||
- name: Ensure matrix-mautrix-facebook container network is created
|
||||
community.general.docker_network:
|
||||
name: "{{ matrix_mautrix_facebook_container_network }}"
|
||||
driver: bridge
|
||||
|
||||
- name: Ensure matrix-mautrix-facebook.service installed
|
||||
ansible.builtin.template:
|
||||
src: "{{ role_path }}/templates/systemd/matrix-mautrix-facebook.service.j2"
|
||||
dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-facebook.service"
|
||||
mode: 0644
|
||||
|
||||
- name: Ensure matrix-mautrix-facebook container network is created
|
||||
community.general.docker_network:
|
||||
name: "{{ matrix_mautrix_facebook_container_network }}"
|
||||
driver: bridge
|
||||
|
||||
- name: Ensure matrix-mautrix-facebook.service restarted, if necessary
|
||||
ansible.builtin.service:
|
||||
name: "matrix-mautrix-facebook.service"
|
||||
|
Loading…
Reference in New Issue
Block a user