mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
fix: and has precedence over or; "| bool" consistency
This commit is contained in:
parent
3f6c897ba1
commit
995d268bca
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: restarted
|
state: restarted
|
||||||
when: calibreweb_enabled
|
when: calibreweb_enabled | bool
|
||||||
|
|
||||||
- name: Disable 'calibre-web' systemd service
|
- name: Disable 'calibre-web' systemd service
|
||||||
systemd:
|
systemd:
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
- name: Disable http://box{{ calibreweb_url1 }}, http://box{{ calibreweb_url2 }}, http://box{{ calibreweb_url3 }} with Apache
|
- name: Disable http://box{{ calibreweb_url1 }}, http://box{{ calibreweb_url2 }}, http://box{{ calibreweb_url3 }} with Apache
|
||||||
command: a2dissite calibre-web.conf
|
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
|
- name: Install {{ nginx_config_dir }}/calibre-web-nginx.conf
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue