From 532918c0fb912f1e5917c01495c1035b4326938c Mon Sep 17 00:00:00 2001 From: jlarriba Date: Tue, 26 Sep 2023 09:35:59 +0200 Subject: [PATCH] Create systemd files requires root --- roles/edpm_telemetry/tasks/deploy_infra.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/edpm_telemetry/tasks/deploy_infra.yml b/roles/edpm_telemetry/tasks/deploy_infra.yml index 14464704c..fcb60f7db 100644 --- a/roles/edpm_telemetry/tasks/deploy_infra.yml +++ b/roles/edpm_telemetry/tasks/deploy_infra.yml @@ -26,6 +26,7 @@ - edpm_telemetry - name: create systemd service file for node_exporter + become: true copy: dest: "/etc/systemd/system/edpm_node_exporter.service" content: |