Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install nodejs from nodesource on debian by default #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

- fail:
msg: "Node Not Found, tests failed."
when: node_path.stdout != "/usr/local/bin/node"
when: node_path.rc != 0
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
nodejs_playbook_version: "0.1.6"
nodejs_install_source: build #One of: build (from source), nodesource_debs (works only on debian-based distros)
nodejs_install_source: '{% if ansible_os_family == "Debian" %}nodesource_debs{% else %}build{% endif %}'
nodejs_version: "0.10.36"
nodejs_path: "/usr/local/"
nodejs_tmp_dir: "/tmp/"
Expand Down