set permissions after download
This commit is contained in:
parent
09b50acc68
commit
16ae8d2f40
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,13 @@
|
||||||
list_files: true
|
list_files: true
|
||||||
register: zip_files
|
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
|
- name: Get current stylesheets stats
|
||||||
stat:
|
stat:
|
||||||
path: /etc/nagios4/stylesheets
|
path: /etc/nagios4/stylesheets
|
||||||
|
|
Loading…
Reference in a new issue