Skip to content

Commit

Permalink
Merge pull request #22 from newrelic/fix/nodejsinstall
Browse files Browse the repository at this point in the history
fix: skip error when nothing to do for node install
  • Loading branch information
Julien4218 authored Nov 28, 2023
2 parents 2536cce + 25e36f1 commit 9a424b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy/linux/roles/prepare/tasks/installNodeJs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- name: download nodejs rpm
shell: 'yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y'
become: yes
ignore_errors: yes

- name: install nodejs from nodesource
shell: 'yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1'
Expand Down

0 comments on commit 9a424b8

Please sign in to comment.