- name: Enable http://box{{ elgg_url }} via Apache    # http://box/elgg
  command: a2ensite elgg.conf
  when: elgg_enabled

- name: Disable http://box{{ elgg_url }} via Apache    # http://box/elgg
  command: a2dissite elgg.conf
  when: not elgg_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
