1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Ansible output (tasks/kiwix_install.yml)

This commit is contained in:
A Holt 2017-11-14 00:29:05 -05:00 committed by GitHub
parent e93a4beb5d
commit 711daecad0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 (debuntu)
apache2_module: name={{ item }}
with_items:
- proxy
@ -90,7 +90,7 @@
dest=/etc/crontab
when: is_redhat
# Create kiwix service
# Create Kiwix service
- name: Create 'kiwix-serve' service
template: backup=no
@ -101,13 +101,11 @@
mode={{ item.mode }}
with_items:
- { src: 'kiwix-serve.service.j2', dest: '/etc/systemd/system/kiwix-serve.service', mode: '0644'}
# - { src: 'kiwix-serve-init.j2', dest: '/usr/libexec/kiwix-serve-init', mode: '0755'}
- { src: 'iiab-make-kiwix-lib', dest: '/usr/bin/iiab-make-kiwix-lib', mode: '0755'}
- { src: 'iiab-make-kiwix-lib.py', dest: '/usr/bin/iiab-make-kiwix-lib.py', mode: '0755'}
- { src: 'iiab-make-apache-config.py', dest: '/usr/bin/iiab-make-apache-config.py', mode: '0755'}
- name: Add 'kiwix-serve' to list of services
ini_file: dest='{{ service_filelist }}'
section=kiwix-serve