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