1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00
iiab/roles/kiwix/tasks/apache.yml.unused

12 lines
446 B
Text

- name: Enable http://box{{ kiwix_url }} via Apache # http://box/kiwix
command: a2ensite kiwix.conf
when: kiwix_enabled
- name: Disable http://box{{ kiwix_url }} via Apache # http://box/kiwix
command: a2dissite kiwix.conf
when: not kiwix_enabled
- name: (Re)Start '{{ apache_service }}' systemd service
systemd:
name: "{{ apache_service }}" # apache2 or httpd, as set in /opt/iiab/iiab/vars/<OS>.yml
state: restarted