2
0
Fork 0

Compare commits

..

No commits in common. "b9f00ac8584a52fdf37ff9c2d2eb8bf5ff9cefc4" and "3153efe24b0a278cbbd5663cf3cd936bb399eead" have entirely different histories.

2 changed files with 10 additions and 19 deletions

View File

@ -1,10 +1,9 @@
## v1.3.0 ## v1.X.Y
### Fix ### Fix
* Add role_name info in meta. * Add role_name info in meta.
* Set a default mode (0644) in ini_file. * Set a default mode (0644) in ini_file.
* with_first_found fail when ansible_distribution vars file is missing (#5).
### Enhancement ### Enhancement
@ -20,7 +19,7 @@
### Features ### Features
* Add RHEL8 support (thanks @mjourdan) (#7). * Add RHEL8 support (thanks @mjourdan).
* The role also works on Debian Bullseye. * The role also works on Debian Bullseye.
## v1.1.2 ## v1.1.2

View File

@ -4,15 +4,10 @@
# tasks file for fusioninventory # tasks file for fusioninventory
- name: Include package list per OS - name: Include package list per OS
include_vars: "{{ lookup('first_found', params) }}" include_vars: "{{ item }}"
vars: with_first_found:
params: - "{{ ansible_distribution }}.yml"
files: - "{{ ansible_os_family }}.yml"
- '{{ ansible_distribution }}.yml'
- '{{ ansible_os_family }}.yml'
paths:
- 'vars'
# Manage dependent packages [[[1 # Manage dependent packages [[[1
- name: Ensure dependent packages are installed - name: Ensure dependent packages are installed
@ -28,13 +23,10 @@
# 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
- name: Include tasks per OS - 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: