Move all shared into this new repo
This commit is contained in:
14
code/nodejs-10-lts/tasks/main.yml
Normal file
14
code/nodejs-10-lts/tasks/main.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
# Install nodesource
|
||||
- name: Installing nodesource for node.js 10x LTS
|
||||
command: "{{item}}"
|
||||
with_items:
|
||||
- curl -o install https://deb.nodesource.com/setup_10.x
|
||||
- bash install
|
||||
args:
|
||||
chdir: /tmp
|
||||
creates: /usr/bin/nodejs
|
||||
|
||||
# Install NodeJS 10.x LTS
|
||||
- name: Installing node.js 10x LTS
|
||||
apt: name=nodejs state=present
|
||||
Reference in New Issue
Block a user