Skip to content

Commit

Permalink
increase nodejs timeout (#11)
Browse files Browse the repository at this point in the history
Co-authored-by: Roman Muntean <[email protected]>
  • Loading branch information
romakarol and Roman Muntean authored Nov 5, 2024
1 parent 700ce23 commit a549d05
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace: merative
name: spm_toolbox

# The version of the collection. Must be compatible with semantic versioning
version: 1.1.2
version: 1.1.3

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
10 changes: 8 additions & 2 deletions roles/nodejs/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,15 @@
ansible.builtin.debug:
msg: https://nodejs.org/dist/{{ nodejs_version }}/node-{{ nodejs_version }}-linux-x64.tar.gz

- name: Download and unarchive NodeJS
- name: Download NodeJS tarball
get_url:
url: https://nodejs.org/dist/{{ nodejs_version }}/node-{{ nodejs_version }}-linux-x64.tar.gz
dest: /tmp/node-{{ nodejs_version }}-linux-x64.tar.gz
timeout: 300 # Seconds

- name: Unarchive NodeJS
unarchive:
src: https://nodejs.org/dist/{{ nodejs_version }}/node-{{ nodejs_version }}-linux-x64.tar.gz
src: /tmp/node-{{ nodejs_version }}-linux-x64.tar.gz
dest: /usr/local/
remote_src: true
mode: 0755
Expand Down

0 comments on commit a549d05

Please sign in to comment.