mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Using Ansible file module to fix warnings
Using Ansible file modules instead of 'chmod' to recursively change iiab_base directory permissions. Fixes warning in #324
This commit is contained in:
parent
9dbe690c6a
commit
b6580e7f3a
1 changed files with 4 additions and 1 deletions
|
@ -72,7 +72,10 @@
|
|||
|
||||
# workaround because unarchive does not set ownership properly
|
||||
- name: Set kiwix ownership
|
||||
command: "chown -R root:root {{ iiab_base }}"
|
||||
file: path="{{ iiab_base }}"
|
||||
owner=root
|
||||
group=root
|
||||
recurse=yes
|
||||
|
||||
# workaround because kiwix-serve does not stay running
|
||||
- name: Make an entry in crontab to restart every hour
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue