- name: Enable http://box/usb via Apache
  command: a2ensite content_dir.conf
  when: usb_lib_enabled

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