Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nodered.yml 647B

123456789101112131415161718
  1. - name: Create temporary Node-Red directory
  2. file: state=directory path=/root/nodered
  3. - name: Download Node-Red install script
  4. get_url:
  5. url="https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered"
  6. dest=/root/nodered/update-nodejs-and-nodered
  7. owner=root
  8. mode=0755
  9. - name: Run Node-Red install script
  10. shell: /root/nodered/update-nodejs-and-nodered --confirm-root --confirm-install --skip-pi --restart --update-nodes
  11. - name: Register new Node-Red service
  12. systemd: name=nodered daemon_reload=yes enabled=yes
  13. - name: Start new Node-Red instance
  14. service: name=nodered state=started