1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

cleaner Ansible messaging

This commit is contained in:
A Holt 2017-10-27 10:08:41 -04:00 committed by GitHub
parent 1aac4fb15c
commit b1f77b1092

View file

@ -1,4 +1,4 @@
- name: Create various directories for zims
- name: Create various directories for ZIM files
file: path={{ item }}
owner=root
group=root
@ -18,7 +18,7 @@
kiwix_first_pass: True
when: kiwix_bin.stat.exists is defined and not kiwix_bin.stat.exists
- name: Copy kiwix library file if needed
- name: Copy Kiwix library file if needed
template: src={{ item }}
dest="{{ kiwix_library_xml }}"
mode=0644
@ -54,7 +54,7 @@
mode=0755
state=directory
- name: enable the mods which permit apache to proxy
- name: Enable the mods which permit Apache to proxy
apache2_module: name={{ item }}
with_items:
- proxy
@ -71,7 +71,7 @@
when: kiwix_src_bin_only and kiwix_first_pass
# workaround because unarchive does not set ownership properly
- name: Set kiwix ownership
- name: Set kiwix ownership to root [WARNING chown -R across all of /opt/iiab]
command: "chown -R root:root {{ iiab_base }}"
# workaround because kiwix-serve does not stay running
@ -105,7 +105,7 @@
- { src: 'iiab-make-apache-config.py', dest: '/usr/bin/iiab-make-apache-config.py', mode: '0755'}
- name: add kiwix to service list
- name: Add kiwix to service list
ini_file: dest='{{ service_filelist }}'
section=kiwix-serve
option='{{ item.option }}'