Skip to content

Commit 44bc4e7

Browse files
committed
Updated with some ammendments to readme and comments.
1 parent 2d469c0 commit 44bc4e7

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ Install the playbook via Ansible Galaxy:
1515
$ ansible-galaxy install nodesource.node
1616
```
1717

18+
Or using the `requirements.yml`
19+
20+
```yaml
21+
# install the role from galaxy
22+
- src: nodesource.node
23+
```
24+
25+
Which is imported as follows.
26+
27+
```
28+
ansible-galaxy install -r requirements.yml
29+
```
30+
1831
Then configure it as follows:
1932

2033
```yaml
@@ -25,7 +38,7 @@ Then configure it as follows:
2538
2639
## Role Variables
2740
28-
- `nodejs_version`: Supports 0.10 or 0.12 or 4.x
41+
- `nodejs_version`: Supports 0.10 or 0.12 or 4.x or 5.x
2942
- `nodejs_nodesource_pin_priority`: Pin-Priority of the NodeSource repository (default: `500`).
3043

3144
## Testing

defaults/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# Pin-Priority of NodeSource repository
33
nodejs_nodesource_pin_priority: 500
44

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

0 commit comments

Comments
 (0)