Created
February 21, 2016 08:45
-
-
Save kharandziuk/c0070a6dfb1403e9d679 to your computer and use it in GitHub Desktop.
Install node and npm with ansible on ubuntu box
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
# now you don't need to use curl | |
tasks: | |
- apt_key: | |
url: "https://deb.nodesource.com/gpgkey/nodesource.gpg.key" | |
# change trusty for your distributive name | |
- apt_repository: repo="deb https://deb.nodesource.com/node_5.x trusty main" state=present |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment