mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
13 lines
467 B
YAML
13 lines
467 B
YAML
|
- name: Enable http://box{{ kolibri_url }} via Apache # http://box/kolibri
|
||
|
command: a2ensite kolibri.conf
|
||
|
when: kolibri_enabled | bool
|
||
|
|
||
|
- name: Disable http://box{{ kolibri_url }} via Apache # http://box/kolibri
|
||
|
command: a2dissite kolibri.conf
|
||
|
when: not kolibri_enabled
|
||
|
|
||
|
- name: Restart '{{ apache_service }}' systemd service
|
||
|
systemd:
|
||
|
name: "{{ apache_service }}" # apache2 or httpd, as set in /opt/iiab/iiab/vars/<OS>.yml
|
||
|
state: restarted
|