1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

nodered - nodejs rework

This commit is contained in:
Jerry Vonau 2020-01-04 21:53:16 -06:00
parent 03b7538fa0
commit c86b1552a5
2 changed files with 9 additions and 4 deletions

View file

@ -1,2 +1,2 @@
dependencies: # dependencies:
- { role: nodejs, tags: ['nodejs'], when: nodered_install | bool } # - { role: nodejs, tags: ['nodejs'], when: nodered_install | bool }

View file

@ -1,5 +1,10 @@
# 2019-01-16: @jvonau's PR #1403 moved installation of Node.js (8.x for now) & # 2019-01-16: @jvonau's PR #1403 moved installation of Node.js (8.x for now) &
# npm to roles/nodejs/tasks/main.yml, triggered by roles/nodered/meta/main.yml # npm to roles/nodejs/tasks/main.yml
- name: NODEJS
include_role:
name: nodejs
# 2020-01-04 no longer triggered by roles/nodered/meta/main.yml
# BRUTAL but ensures consistency across OS's / distros like Raspbian Desktop & # BRUTAL but ensures consistency across OS's / distros like Raspbian Desktop &
# Ubermix that often include an older version of Node-RED. Brutal, as this # Ubermix that often include an older version of Node-RED. Brutal, as this
@ -75,7 +80,7 @@
- name: Install /etc/systemd/system/nodered.service systemd unit file from template - name: Install /etc/systemd/system/nodered.service systemd unit file from template
template: template:
backup: yes backup: no
src: nodered.service.j2 src: nodered.service.j2
dest: /etc/systemd/system/nodered.service dest: /etc/systemd/system/nodered.service
# mode: '0666' # mode: '0666'