From dcd75322dbfca79141324135ddcd03f37f1e2bd9 Mon Sep 17 00:00:00 2001 From: Roman Muntean Date: Mon, 4 Nov 2024 09:41:54 +0000 Subject: [PATCH] increase nodejs timeout --- galaxy.yml | 2 +- roles/nodejs/tasks/main.yml | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/galaxy.yml b/galaxy.yml index 40ab7da..aef92c4 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -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 diff --git a/roles/nodejs/tasks/main.yml b/roles/nodejs/tasks/main.yml index c17896e..70c0844 100644 --- a/roles/nodejs/tasks/main.yml +++ b/roles/nodejs/tasks/main.yml @@ -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