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:
commit
f3308b5230
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue