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
|
@ -1,6 +1,6 @@
|
|||
- name: Enable http://box/nodered via Apache
|
||||
command: a2ensite nodered.conf
|
||||
when: nodered_enabled | bool
|
||||
when: nodered_enabled
|
||||
|
||||
- name: Disable http://box/nodered via Apache
|
||||
command: a2dissite nodered.conf
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
package:
|
||||
name: nodered
|
||||
state: absent
|
||||
when: nodered_install | bool
|
||||
when: nodered_install
|
||||
|
||||
# 2012-02-13: the 6 RPi stanzas below recreate Raspbian Desktop's Node-RED
|
||||
# environment, inspired by:
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
daemon_reload: yes
|
||||
enabled: yes
|
||||
state: restarted
|
||||
when: nodered_enabled | bool
|
||||
when: nodered_enabled
|
||||
|
||||
- name: Disable & Stop 'nodered' systemd service, if not nodered_enabled
|
||||
systemd:
|
||||
|
@ -46,7 +46,7 @@
|
|||
|
||||
- name: Enable/Disable/Restart NGINX if primary
|
||||
include_tasks: nginx.yml
|
||||
when: nginx_enabled | bool
|
||||
when: nginx_enabled
|
||||
|
||||
|
||||
- name: Add 'nodered' variable values to {{ iiab_ini_file }}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
template:
|
||||
src: nodered-nginx.conf.j2
|
||||
dest: "{{ nginx_conf_dir }}/nodered-nginx.conf" # /etc/nginx/conf.d
|
||||
when: nodered_enabled | bool
|
||||
when: nodered_enabled
|
||||
|
||||
- name: Disable http://box/nodered via NGINX, by removing {{ nginx_conf_dir }}/nodered-nginx.conf
|
||||
file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue