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

increase nodejs timeout #11

Merged
merged 1 commit into from
Nov 5, 2024
Merged
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 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
Loading