1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

'when: X' -> 'when: X | bool' for Ansibl 2.8

This commit is contained in:
holta 2019-05-24 18:33:10 -04:00
parent 176abdd2f5
commit 3a1ccf3638
89 changed files with 248 additions and 248 deletions

View file

@ -20,7 +20,7 @@
virtualenv_command: python3 -m venv "{{ lokole_venv }}"
tags:
- install
when: internet_available
when: internet_available | bool
- name: Compile translations
shell: |
@ -73,7 +73,7 @@
name: lokole
enabled: yes
state: restarted
when: lokole_enabled
when: lokole_enabled | bool
- name: Disable 'lokole' service, if not lokole_enabled
systemd:

View file

@ -1,3 +1,3 @@
- name: Install Lokole {{ lokole_version }} if lokole_install
include_tasks: install.yml
when: lokole_install
when: lokole_install | bool