basic installs working
need to run tests on all the builds alone, should use a container system
This commit is contained in:
@@ -12,9 +12,8 @@
|
||||
methods:
|
||||
- system
|
||||
pkgname:
|
||||
RedHat: [nodejs]
|
||||
Debian: [nodejs]
|
||||
Alpine: [nodejs]
|
||||
RedHat:
|
||||
- nodejs
|
||||
FreeBSD:
|
||||
- node
|
||||
- npm
|
||||
@@ -32,12 +31,9 @@
|
||||
when:
|
||||
- nodejs_imethod == "system"
|
||||
block:
|
||||
- name: Set nodejs package name
|
||||
ansible.builtin.set_fact:
|
||||
nodejs_pkgname: "{{ nodejs.pkgname[os_family] }}"
|
||||
- name: Append nodejs to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + [nodejs_pkgname] }}"
|
||||
pkg_sys: "{{ pkg_sys + nodejs.pkgname[os_family] }}"
|
||||
|
||||
- name: Finalize nodejs configuration
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
Reference in New Issue
Block a user