From 006920882c54408e77b70cbd2719602fe63bab69 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 21 Nov 2024 19:38:23 +0200 Subject: [PATCH] Rename file (element-call-labels -> labels) --- roles/custom/matrix-element-call/tasks/install.yml | 4 ++-- .../templates/{element-call-labels.j2 => labels.j2} | 0 .../templates/systemd/matrix-element-call.service.j2 | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename roles/custom/matrix-element-call/templates/{element-call-labels.j2 => labels.j2} (100%) diff --git a/roles/custom/matrix-element-call/tasks/install.yml b/roles/custom/matrix-element-call/tasks/install.yml index bc2238ae7..21f1808fc 100644 --- a/roles/custom/matrix-element-call/tasks/install.yml +++ b/roles/custom/matrix-element-call/tasks/install.yml @@ -24,8 +24,8 @@ - name: Ensure matrix-element-call Docker labels file is in place ansible.builtin.template: - src: "{{ role_path }}/templates/element-call-labels.j2" - dest: "{{ matrix_element_call_base_path }}/element-call-labels" + src: "{{ role_path }}/templates/labels.j2" + dest: "{{ matrix_element_call_base_path }}/labels" mode: 0640 owner: "{{ matrix_user_username }}" group: "{{ matrix_user_groupname }}" diff --git a/roles/custom/matrix-element-call/templates/element-call-labels.j2 b/roles/custom/matrix-element-call/templates/labels.j2 similarity index 100% rename from roles/custom/matrix-element-call/templates/element-call-labels.j2 rename to roles/custom/matrix-element-call/templates/labels.j2 diff --git a/roles/custom/matrix-element-call/templates/systemd/matrix-element-call.service.j2 b/roles/custom/matrix-element-call/templates/systemd/matrix-element-call.service.j2 index dcb3fa7c2..a22ff17f1 100644 --- a/roles/custom/matrix-element-call/templates/systemd/matrix-element-call.service.j2 +++ b/roles/custom/matrix-element-call/templates/systemd/matrix-element-call.service.j2 @@ -24,7 +24,7 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \ {% if matrix_element_call_container_http_host_bind_port %} -p {{ matrix_element_call_container_http_host_bind_port }}:8080 \ {% endif %} - --label-file={{ matrix_element_call_base_path }}/element-call-labels \ + --label-file={{ matrix_element_call_base_path }}/labels \ {% for arg in matrix_element_call_container_extra_arguments %} {{ arg }} \ {% endfor %} @@ -43,4 +43,4 @@ RestartSec=30 SyslogIdentifier=matrix-element-call [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target