From 16ae8d2f4055f7554e9bec940d0afc4f115f2878 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Tue, 28 Mar 2023 14:09:00 +0300 Subject: [PATCH] set permissions after download --- tasks/configure_custom_theme.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/configure_custom_theme.yml b/tasks/configure_custom_theme.yml index 371dcde..a2e0f09 100644 --- a/tasks/configure_custom_theme.yml +++ b/tasks/configure_custom_theme.yml @@ -14,6 +14,13 @@ list_files: true register: zip_files +- name: Set permissions to custom theme folder + file: + path: "/usr/src/nagio4_theme/{{ zip_files.files[0] }}" + state: directory + owner: www-data + group: www-data + - name: Get current stylesheets stats stat: path: /etc/nagios4/stylesheets