Skip to content

Commit

Permalink
Updated with some ammendments to readme and comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfeidau committed Nov 3, 2015
1 parent 2d469c0 commit c12c658
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ Install the playbook via Ansible Galaxy:
$ ansible-galaxy install nodesource.node
```

Or using the requirements.yml

```yaml
# install the role from galaxy
- src: nodesource.node
```
Which is imported as follows.
```
ansible-galaxy install -r requirements.yml
```

Then configure it as follows:

```yaml
Expand All @@ -25,7 +38,7 @@ Then configure it as follows:
## Role Variables
- `nodejs_version`: Supports 0.10 or 0.12 or 4.x
- `nodejs_version`: Supports 0.10 or 0.12 or 4.x or 5.x
- `nodejs_nodesource_pin_priority`: Pin-Priority of the NodeSource repository (default: `500`).

## Testing
Expand Down
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Pin-Priority of NodeSource repository
nodejs_nodesource_pin_priority: 500

# 0.10 or 0.12 or 4.x
nodejs_version: "4.2"
# 0.10 or 0.12 or 4.x or 5.x
nodejs_version: "5.0"

0 comments on commit c12c658

Please sign in to comment.