adjust pkg list generation
- add a custom pkg definition if it exists - if it doesn't exist, assume it's a package manager packge name
This commit is contained in:
11
tasks/addpkg.yml
Normal file
11
tasks/addpkg.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: add custom pkg if available
|
||||
ansible.builtin.include_tasks:
|
||||
file: "pkgs/{{ ansible_os_family }}/{{ pkg }}.yml"
|
||||
register: cadd_pkg
|
||||
ignore_errors: true
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- debug:
|
||||
var: cadd_pkg
|
||||
Reference in New Issue
Block a user