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