1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
iiab/roles/awstats/tasks/apache.yml.unused

13 lines
470 B
Text
Raw Normal View History

2020-02-02 12:55:43 +00:00
- name: Enable http://box/awstats and/or http://box/awstats/awstats.pl via Apache
command: a2ensite awstats.conf
when: awstats_enabled
2020-02-02 12:55:43 +00:00
- name: Disable http://box/awstats and/or http://box/awstats/awstats.pl via Apache
command: a2dissite awstats.conf
when: not awstats_enabled
- name: (Re)Start '{{ apache_service }}' systemd service
2020-02-02 12:55:43 +00:00
systemd:
name: "{{ apache_service }}" # apache2 or httpd, as set in /opt/iiab/iiab/vars/<OS>.yml
state: restarted