packages are more generic

- if config is needed, it has a file in vars/
- all imported vars for pkgs are namespaced with _<pkgname>
This commit is contained in:
Matthew Stobbs
2025-01-23 00:29:58 -07:00
parent 6fa5a46701
commit 0f2d22f3c5
76 changed files with 277 additions and 594 deletions

View File

@@ -1,8 +1,11 @@
---
- ansible.builtin.include_vars:
file: nodejs.yml
name: _nodejs
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ 'nodejs', 'npm' ] }}"
syspkgs: "{{ syspkgs + _nodejs[ansible_system].pkgs }}"
tags:
- RedHat
- linux