From b20b6409ae6c7c949ed8d2dbb1f70f12300bf714 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 1 Aug 2024 14:34:14 +0200 Subject: [PATCH] Fix the systemd unit file name. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index ec5cd67..b88c73b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -260,7 +260,7 @@ - name: Install the instances systemd unit ansible.builtin.template: src: tomcat-service.j2 - dest: "/usr/lib/systemd/system/tomcat-instance-{{ item.http_port }}" + dest: "/usr/lib/systemd/system/tomcat-instance-{{ item.http_port }}.service" mode: "0644" owner: root group: root