Skip to content

Commit

Permalink
Issue #158: Fix RHEL install dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Feb 20, 2024
1 parent e7114d8 commit 8501c31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/setup-RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@

- name: Add Nodesource repositories for Node.js (CentOS < 7).
yum:
name: "http://rpm.nodesource.com/pub_{{ nodejs_rhel_rpm_dir }}/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm"
name: "http://rpm.nodesource.com/{{ nodejs_rhel_rpm_dir }}/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm"
state: present
when: ansible_distribution_major_version | int < 7
register: node_repo

- name: Add Nodesource repositories for Node.js (CentOS 7+).
yum:
name: "https://rpm.nodesource.com/pub_{{ nodejs_rhel_rpm_dir }}/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm"
name: "https://rpm.nodesource.com/{{ nodejs_rhel_rpm_dir }}/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm"
state: present
when: ansible_distribution_major_version | int >= 7
register: node_repo
Expand Down

0 comments on commit 8501c31

Please sign in to comment.