mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Remove "| bool" 1.5yrs later, as Ansible 2.10 changed conditional_bare_variables default
This commit is contained in:
parent
2968a8a20e
commit
ca171fbc1c
158 changed files with 2072 additions and 2072 deletions
|
|
@ -14,7 +14,7 @@
|
|||
#
|
||||
#- name: Install Calibre via .debs (if Raspbian)
|
||||
# command: scripts/calibre-install-latest-rpi.sh # WORKED for Calibre 3.33.1 on 2018-10-23. And Calibre 3.28 on 2018-07-26 (PR #971). Likewise for Calibre 3.26.x. FAILED with Calibre 3.24+ ("calibre : Depends: python-pyqt5 (>= 5.10.1+dfsg-2) but 5.10.1+dfsg-1+rpi1 is to be installed") since June 2018.
|
||||
# when: is_raspbian | bool
|
||||
# when: is_raspbian
|
||||
|
||||
# 2020-04-29: Can work *IF* you do 'apt install python2' and change top line
|
||||
# of /opt/iiab/downloads/calibre-installer.py from '#!/usr/bin/env python2'
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
name: calibre-serve
|
||||
enabled: yes
|
||||
state: restarted
|
||||
when: calibre_enabled | bool
|
||||
when: calibre_enabled
|
||||
|
||||
- name: Disable & Stop 'calibre-serve' service, if not calibre_enabled
|
||||
systemd:
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
#
|
||||
#- name: Enable/Disable/Restart NGINX if primary
|
||||
# include_tasks: nginx.yml
|
||||
# when: nginx_enabled | bool
|
||||
# when: nginx_enabled
|
||||
|
||||
|
||||
- name: Add 'calibre' variable values to {{ iiab_ini_file }}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
backup: yes
|
||||
timeout: "{{ download_timeout }}"
|
||||
register: calibre_download_output
|
||||
when: internet_available | bool
|
||||
when: internet_available
|
||||
|
||||
# ALWAYS DEFINED, DESPITE get_url DOCUMENTATION CLAIM...
|
||||
# - debug:
|
||||
|
|
@ -53,4 +53,4 @@
|
|||
shell: "{{ downloads_dir }}/calibre-installer.py >> /dev/null"
|
||||
#args:
|
||||
# creates: /usr/bin/calibre-uninstall
|
||||
when: internet_available | bool
|
||||
when: internet_available
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue