Skip to content

Commit 621b472

Browse files
committed
feat: Added redhat support and ppc support
1 parent 1db3a7d commit 621b472

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
nodejs_toolchain_final_dest: /opt/node
33
nodejs_toolchain_npmrc_dest: "~{{ nodejs_toolchain_user }}/.npmrc"
44
nodejs_toolchain_version: ""
5-
nodejs_toolchain_url: https://s3.amazonaws.com/boxes.10gen.com/build/node-{{ nodejs_toolchain_version }}-{{ distro }}-x64.tar.gz
5+
nodejs_toolchain_url: https://s3.amazonaws.com/boxes.10gen.com/build/node-{{ nodejs_toolchain_version }}-{{ distro }}-{{ architecture }}.tar.gz
66
nodejs_toolchain_user: ""

vars/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
distro_dict:
33
Debian: linux
44
Darwin: darwin
5+
RedHat: linux
56
distro: "{{ distro_dict[ansible_os_family] }}"
67
architecture_dict:
7-
x86_64: amd64
8+
x86_64: x64
9+
ppc64le: ppc64le
810
architecture: "{{ architecture_dict[ansible_architecture] }}"

0 commit comments

Comments
 (0)