diff --git a/roles/nginx/tasks/disable.yml b/roles/nginx/tasks/disable.yml new file mode 100644 index 000000000..e6e2dd7e7 --- /dev/null +++ b/roles/nginx/tasks/disable.yml @@ -0,0 +1,24 @@ +#grep -r "not nginx_enabled" roles/ +#roles/calibre-web/tasks/main.yml: when: calibreweb_enabled | bool and not nginx_enabled | bool +#roles/calibre-web/tasks/main.yml: when: not nginx_enabled | bool +#roles/kolibri/tasks/main.yml: when: kolibri_enabled | bool and not nginx_enabled | bool +#roles/kolibri/tasks/main.yml: when: not nginx_enabled | bool +#roles/kiwix/tasks/kiwix_install.yml: when: kiwix_enabled | bool and not nginx_enabled | bool +#roles/kiwix/tasks/kiwix_install.yml: when: not nginx_enabled | bool +#roles/nginx/tasks/main.yml: when: not nginx_enabled | bool +#roles/nginx/tasks/main.yml: when: not nginx_enabled | bool +#roles/sugarizer/tasks/install.yml: when: sugarizer_enabled | bool and not nginx_enabled | bool +#roles/sugarizer/tasks/install.yml: when: sugarizer_enabled | bool and not nginx_enabled | bool + +- name: Enable Calibre-Web for Apache + command: a2ensite calibre-web.conf + +- name: Enable Kolibri for Apache + command: a2ensite kolibri.conf + +- name: Enable kiwix for Apache + command: a2ensite kiwix.conf + +- name: Enable Sugarizer for Apache + command: a2ensite sugarizer.conf +