Merge branch 'djerfy-issue-5'
This commit is contained in:
commit
a9d3811432
|
@ -4,10 +4,12 @@
|
||||||
# tasks file for fusioninventory
|
# tasks file for fusioninventory
|
||||||
|
|
||||||
- name: Include package list per OS
|
- name: Include package list per OS
|
||||||
include_vars: "{{ item }}"
|
include_vars: "{{ lookup('first_found', params) }}"
|
||||||
with_first_found:
|
vars:
|
||||||
- "{{ ansible_distribution }}.yml"
|
params:
|
||||||
- "{{ ansible_os_family }}.yml"
|
files:
|
||||||
|
- "{{ ansible_distribution }}.yml"
|
||||||
|
- "{{ ansible_os_family }}.yml"
|
||||||
|
|
||||||
# Manage dependent packages [[[1
|
# Manage dependent packages [[[1
|
||||||
- name: Ensure dependent packages are installed
|
- name: Ensure dependent packages are installed
|
||||||
|
@ -23,10 +25,12 @@
|
||||||
# Manage agent package [[[1
|
# Manage agent package [[[1
|
||||||
|
|
||||||
# Specific tasks per OS will be in the include otherwise below
|
# Specific tasks per OS will be in the include otherwise below
|
||||||
- include: "{{ item }}"
|
- include: "{{ lookup('first_found', params) }}"
|
||||||
with_first_found:
|
vars:
|
||||||
- "{{ ansible_distribution }}.yml"
|
params:
|
||||||
- "{{ ansible_os_family }}.yml"
|
files:
|
||||||
|
- "{{ ansible_distribution }}.yml"
|
||||||
|
- "{{ ansible_os_family }}.yml"
|
||||||
|
|
||||||
- name: Ensure fusioninventory-agent package from REPOS
|
- name: Ensure fusioninventory-agent package from REPOS
|
||||||
package:
|
package:
|
||||||
|
|
Reference in New Issue