1
0
Fork 0
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:
root 2020-10-16 16:46:19 -04:00
parent 2968a8a20e
commit ca171fbc1c
158 changed files with 2072 additions and 2072 deletions

View file

@ -1,6 +1,6 @@
- name: Enable http://box/usb via Apache
command: a2ensite content_dir.conf
when: usb_lib_enabled | bool
when: usb_lib_enabled
- name: Disable http://box/usb via Apache
command: a2dissite content_dir.conf

View file

@ -36,7 +36,7 @@
- name: Enable/Disable/Restart NGINX if primary
include_tasks: nginx.yml
when: nginx_enabled | bool
when: nginx_enabled
- name: Put variable in iiab.env that enables display of content at root of USB

View file

@ -5,7 +5,7 @@
owner: root
group: root
mode: '0751'
when: usb_lib_enabled | bool
when: usb_lib_enabled
- name: Install /etc/usbmount/umount.d/70-usb-library from template, if usb_lib_enabled
template:
@ -14,7 +14,7 @@
owner: root
group: root
mode: '0751'
when: usb_lib_enabled | bool
when: usb_lib_enabled
- name: Remove /etc/usbmount/mount.d/70-usb-library if not usb_lib_enabled
file: