mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
correct botched rebase of only_nginx.yml
This commit is contained in:
parent
18eb022f2d
commit
2b09904b63
1 changed files with 5 additions and 3 deletions
|
@ -40,6 +40,7 @@
|
|||
- name: Remove nginx support for sugarizer
|
||||
file:
|
||||
path: /etc/nginx/conf.d/sugarizer-nginx.conf
|
||||
state: absent
|
||||
when: not sugarizer_enabled | bool
|
||||
|
||||
- name: Remove /etc/apache2/sites-enabled/kolibri.conf
|
||||
|
@ -61,11 +62,11 @@
|
|||
- name: Remove nginx support for kolibri when not kolibri_enabled
|
||||
file:
|
||||
path: /etc/nginx/conf.d/kolibri-nginx.conf
|
||||
state: absent
|
||||
when: not kolibri_enabled | bool
|
||||
|
||||
- name: Disable /etc/apache2/sites-enabled/calibre-web.conf
|
||||
command: a2dissite calibre-web.conf
|
||||
when: not calibreweb_enabled
|
||||
|
||||
- name: Install /etc/nginx/conf.d/calibre-web-nginx.conf
|
||||
template:
|
||||
|
@ -78,7 +79,8 @@
|
|||
- { src: 'roles/calibre-web/templates/calibre-web-nginx.conf.j2', dest: '/etc/nginx/conf.d/calibre-web-nginx.conf', mode: '0644' }
|
||||
when: calibreweb_enabled
|
||||
|
||||
- name: Remove nginx support for sugarizer
|
||||
- name: Remove nginx support for Calibre-Web
|
||||
file:
|
||||
path: /etc/nginx/conf.d/sugarizer-nginx.conf
|
||||
path: /etc/nginx/conf.d/calibre-web-nginx.conf
|
||||
state: absent
|
||||
when: not calibreweb_enabled | bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue