- name: Enable http://box/nodered via Apache
  command: a2ensite nodered.conf
  when: nodered_enabled

- name: Disable http://box/nodered via Apache
  command: a2dissite nodered.conf
  when: not nodered_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