1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #352 from arky/bug-324

Using Ansible file module to fix warnings
This commit is contained in:
A Holt 2017-11-09 13:42:35 -05:00 committed by GitHub
commit f3308b5230
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,8 +71,11 @@
when: kiwix_src_bin_only and kiwix_first_pass
# workaround because unarchive does not set ownership properly
- name: "Set ownership: 'chown -R root:root /opt/iiab/kiwix'"
command: "chown -R root:root {{ iiab_base }}/kiwix"
- name: "Set ownership as if: 'chown -R root:root /opt/iiab/kiwix'"
file: path="{{ iiab_base }}/kiwix"
owner=root
group=root
recurse=yes
# workaround because kiwix-serve does not stay running
- name: Make a crontab entry to restart kiwix-serve at 4AM (debuntu)