mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	nodered - nodejs rework
This commit is contained in:
		
							parent
							
								
									03b7538fa0
								
							
						
					
					
						commit
						c86b1552a5
					
				
					 2 changed files with 9 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,2 +1,2 @@
 | 
			
		|||
 dependencies:
 | 
			
		||||
     - { role: nodejs, tags: ['nodejs'], when: nodered_install | bool }
 | 
			
		||||
# dependencies:
 | 
			
		||||
#     - { role: nodejs, tags: ['nodejs'], when: nodered_install | bool }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,10 @@
 | 
			
		|||
# 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 &
 | 
			
		||||
# 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
 | 
			
		||||
  template:
 | 
			
		||||
    backup: yes
 | 
			
		||||
    backup: no
 | 
			
		||||
    src: nodered.service.j2
 | 
			
		||||
    dest: /etc/systemd/system/nodered.service
 | 
			
		||||
    # mode: '0666'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue