1
0
Fork 0
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:
Arky 2017-10-01 16:45:11 +07:00
parent 9dbe690c6a
commit b6580e7f3a

View file

@ -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