From 6d5cf9cbcd99e298352025edfd1b1eef539dbfc6 Mon Sep 17 00:00:00 2001 From: Aine Date: Thu, 23 Mar 2023 20:17:11 +0200 Subject: [PATCH] fix honoroit networks --- roles/custom/matrix-bot-honoroit/defaults/main.yml | 6 +++--- .../templates/systemd/matrix-bot-honoroit.service.j2 | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/custom/matrix-bot-honoroit/defaults/main.yml b/roles/custom/matrix-bot-honoroit/defaults/main.yml index 38d02d343..5e90ef51f 100644 --- a/roles/custom/matrix-bot-honoroit/defaults/main.yml +++ b/roles/custom/matrix-bot-honoroit/defaults/main.yml @@ -55,14 +55,14 @@ matrix_bot_honoroit_container_labels_traefik_additional_response_headers: "{{ ma matrix_bot_honoroit_container_labels_traefik_additional_response_headers_auto: {} matrix_bot_honoroit_container_labels_traefik_additional_response_headers_custom: {} -# matrix_bot_buscarron_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file. +# matrix_bot_honoroit_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file. # See `../templates/labels.j2` for details. # # Example: -# matrix_bot_buscarron_container_labels_additional_labels: | +# matrix_bot_honoroit_container_labels_additional_labels: | # my.label=1 # another.label="here" -matrix_bot_buscarron_container_labels_additional_labels: '' +matrix_bot_honoroit_container_labels_additional_labels: '' # A list of extra arguments to pass to the container matrix_bot_honoroit_container_extra_arguments: [] diff --git a/roles/custom/matrix-bot-honoroit/templates/systemd/matrix-bot-honoroit.service.j2 b/roles/custom/matrix-bot-honoroit/templates/systemd/matrix-bot-honoroit.service.j2 index 44fe9a2fc..9bbc7d10b 100644 --- a/roles/custom/matrix-bot-honoroit/templates/systemd/matrix-bot-honoroit.service.j2 +++ b/roles/custom/matrix-bot-honoroit/templates/systemd/matrix-bot-honoroit.service.j2 @@ -16,7 +16,7 @@ Environment="HOME={{ devture_systemd_docker_base_systemd_unit_home_path }}" ExecStartPre=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} kill matrix-bot-honoroit 2>/dev/null || true' ExecStartPre=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} rm matrix-bot-honoroit 2>/dev/null || true' -ExecStart={{ devture_systemd_docker_base_host_command_docker }} create \ +ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \ --rm \ --name=matrix-bot-honoroit \ --log-driver=none \