2
0
Fork 0

Merge branch 'djerfy-issue-5'

This commit is contained in:
Jeremy Gardais 2021-06-10 16:17:44 +02:00
commit a9d3811432
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 12 additions and 8 deletions

View File

@ -4,8 +4,10 @@
# tasks file for fusioninventory
- name: Include package list per OS
include_vars: "{{ item }}"
with_first_found:
include_vars: "{{ lookup('first_found', params) }}"
vars:
params:
files:
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml"
@ -23,8 +25,10 @@
# Manage agent package [[[1
# Specific tasks per OS will be in the include otherwise below
- include: "{{ item }}"
with_first_found:
- include: "{{ lookup('first_found', params) }}"
vars:
params:
files:
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml"