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

Merge pull request #1408 from georgejhunt/node-red

changes for menu to install automatically
This commit is contained in:
georgejhunt 2019-01-17 13:15:04 -08:00 committed by GitHub
commit fb1eba7510
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,3 +53,19 @@
enabled: yes
state: started
when: nodered_enabled
- name: Add 'nodered' variable values to {{ iiab_ini_file }}
ini_file:
path: "{{ iiab_ini_file }}"
section: nodered
option: "{{ item.option }}"
value: "{{ item.value }}"
with_items:
- option: name
value: Node-RED
- option: description
value: '"Node-RED is a flow-based development tool for visual programming developed originally by IBM for wiring together hardware devices, APIs and online services as part of the Internet of Things. Node-RED provides a web browser-based flow editor, which can be used to create JavaScript functions."'
- option: nodered_install
value: "{{ nodered_install }}"
- option: nodered_enabled
value: "{{ nodered_enabled }}"