Last active
December 26, 2017 06:37
-
-
Save joeartsea/4b0478baec83b17d44714560b3b8777f to your computer and use it in GitHub Desktop.
node-red playbook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: all | |
sudo: yes | |
tasks: | |
- name: setup nodejs8.x | |
shell: curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
args: | |
creates: /usr/bin/node | |
- name: installing latest version of node.js | |
apt: | |
name: nodejs | |
state: latest | |
- name: installing latest version of node-red | |
npm: | |
name: node-red | |
global: yes | |
state: latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment