1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

fix: and has precedence over or; "| bool" consistency

This commit is contained in:
A Holt 2020-01-10 17:13:06 -05:00 committed by GitHub
parent 3f6c897ba1
commit 995d268bca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
daemon_reload: yes
enabled: yes
state: restarted
when: calibreweb_enabled
when: calibreweb_enabled | bool
- name: Disable 'calibre-web' systemd service
systemd:
@ -22,7 +22,7 @@
- name: Disable http://box{{ calibreweb_url1 }}, http://box{{ calibreweb_url2 }}, http://box{{ calibreweb_url3 }} with Apache
command: a2dissite calibre-web.conf
when: not calibreweb_enabled or nginx_enabled | bool and apache_install
when: (not calibreweb_enabled or nginx_enabled) and apache_install
- name: Install {{ nginx_config_dir }}/calibre-web-nginx.conf
template: