- add a custom pkg definition if it exists - if it doesn't exist, assume it's a package manager packge name
12 lines
222 B
YAML
12 lines
222 B
YAML
---
|
|
- 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
|