mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
cleaner Ansible messaging
This commit is contained in:
parent
1aac4fb15c
commit
b1f77b1092
1 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
- name: Create various directories for zims
|
- name: Create various directories for ZIM files
|
||||||
file: path={{ item }}
|
file: path={{ item }}
|
||||||
owner=root
|
owner=root
|
||||||
group=root
|
group=root
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
kiwix_first_pass: True
|
kiwix_first_pass: True
|
||||||
when: kiwix_bin.stat.exists is defined and not kiwix_bin.stat.exists
|
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 }}
|
template: src={{ item }}
|
||||||
dest="{{ kiwix_library_xml }}"
|
dest="{{ kiwix_library_xml }}"
|
||||||
mode=0644
|
mode=0644
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
mode=0755
|
mode=0755
|
||||||
state=directory
|
state=directory
|
||||||
|
|
||||||
- name: enable the mods which permit apache to proxy
|
- name: Enable the mods which permit Apache to proxy
|
||||||
apache2_module: name={{ item }}
|
apache2_module: name={{ item }}
|
||||||
with_items:
|
with_items:
|
||||||
- proxy
|
- proxy
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
when: kiwix_src_bin_only and kiwix_first_pass
|
when: kiwix_src_bin_only and kiwix_first_pass
|
||||||
|
|
||||||
# workaround because unarchive does not set ownership properly
|
# 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 }}"
|
command: "chown -R root:root {{ iiab_base }}"
|
||||||
|
|
||||||
# workaround because kiwix-serve does not stay running
|
# 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'}
|
- { 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 }}'
|
ini_file: dest='{{ service_filelist }}'
|
||||||
section=kiwix-serve
|
section=kiwix-serve
|
||||||
option='{{ item.option }}'
|
option='{{ item.option }}'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue