Skip to content

Commit

Permalink
updates, verbose, yolo
Browse files Browse the repository at this point in the history
  • Loading branch information
otakup0pe committed Feb 27, 2018
1 parent 7bfe637 commit 9a14e4c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ script:
- ansible-playbook -i inventory test.yml --syntax-check

# Play test
- travis_wait ansible-playbook -i inventory test.yml --connection=local --sudo -e "$ROLE_OPTIONS"
- travis_wait 30 ansible-playbook -i inventory test.yml --connection=local --sudo -e "$ROLE_OPTIONS" -vvv

# Idempotence test
- ansible-playbook -i inventory test.yml --connection=local --sudo -e "$ROLE_OPTIONS" > idempotence_out
Expand Down
1 change: 0 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ nodejs_source_prefix : "{{nodejs_directory}}/node-v{{nodejs_version}}"

# possible achitectures: darwin-x64, darwin-x86, linux-x64, linux-x86, sunos-x64, sunos-x86
nodejs_binary_url : "https://nodejs.org/dist/v{{nodejs_version}}/node-v{{nodejs_version}}-{{ansible_system | lower}}-x{{ansible_userspace_bits |replace('32', '86')}}.tar.gz"
nodejs_binary_prefix : "{{nodejs_directory}}/node-v{{nodejs_version}}-{{ansible_system | lower}}-x{{ansible_userspace_bits |replace('32', '86')}}"

nodejs_system_paths: true
7 changes: 0 additions & 7 deletions tasks/binary.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# file: nodejs/tasks/binary.yml

- name: node.js | binary | Make sure that the directory to hold the node.js binaries exists
file:
path: "{{nodejs_binary_prefix}}"
state: directory
recurse: yes
mode: 0755

- name: node.js | binary | Download the node.js binary for your distribution
get_url:
url: "{{nodejs_binary_url}}"
Expand Down
4 changes: 3 additions & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
nodejs_apt_key_url: "https://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x1655A0AB68576280"
nodejs_apt_key: "68576280"
nodejs_apt_url: "https://deb.nodesource.com/node_{{ nodejs_version.split('.')[0] }}.x/pool/main/n/nodejs/nodejs_{{nodejs_version}}-1nodesource1_{{ansible_lsb.codename}}.deb"
nodejs_apt_url: "https://deb.nodesource.com/node_{{ nodejs_version.split('.')[0] }}.x/pool/main/n/nodejs/nodejs_{{nodejs_version}}-1nodesource1_{{ansible_lsb.codename}}.deb"

nodejs_binary_prefix : "{{nodejs_directory}}/node-v{{nodejs_version}}"

0 comments on commit 9a14e4c

Please sign in to comment.