From 301446658be7d83ef27712263ace8337ec34ec6d Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Tue, 19 Nov 2019 00:13:41 -0600 Subject: [PATCH] correct botched rebase of disable.yml --- roles/nginx/tasks/disable.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 roles/nginx/tasks/disable.yml 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 +