2
0
Fork 0
Commit Graph

15 Commits

Author SHA1 Message Date
Jeremy Gardais f7df94a728
Split depend_packages content to 3 vars 2021-06-23 10:20:41 +02:00
Jeremy Gardais 78b0528362
Flatten packages list to allow condition 2021-06-22 15:56:25 +02:00
Jeremy Gardais b9f00ac858
Add "paths" parameter for include_vars
As mentionned in the last example on the documentation:
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/first_found_lookup.html#examples
Fix #5
2021-06-10 16:35:32 +02:00
Djerfy d80f5e5a2c
Fix with_first_found fail when ansible_distribution vars file is missing (issue #5) 2021-06-10 12:26:25 +02:00
Christian Iuga 920b73d7ff Add RHEL support
Followed the procedure : http://fusioninventory.org/documentation/agent/installation/linux/rhel.html
- Should possible to add RHEL8 support without huge change
2020-09-30 16:05:10 +02:00
Jeremy Gardais 46e20669ff
Fix E602 Don't compare to empty string 2019-02-27 14:11:20 +01:00
Jeremy Gardais 713656d0ad
Fix E405 Remote package tasks should have a retry 2019-02-27 14:07:23 +01:00
Jeremy Gardais 248cca2f77
Don't need to omit an empty URL with "when" state 2018-09-17 17:53:49 +02:00
Jeremy Gardais 6cb885f092
Install depend packages in one time 2018-09-17 11:27:26 +02:00
Jeremy Gardais 8fe580046b
If desired, remove fusioninventory-agent package 2018-09-13 10:21:44 +02:00
Jeremy Gardais a8141ae39b
Don't remove dependent packages
They might be really wanted on some system (eg. hdparm, dmidecode,…).
2018-09-13 10:20:45 +02:00
Jeremy Gardais 7d75c9720c
Restart agent's service if needed. 2018-09-10 14:55:42 +02:00
Jeremy Gardais d542926e9a
Generate agent's configuration file 2018-09-10 14:02:41 +02:00
Jeremy Gardais ca61e84088
Install agent package after it's dependencies 2018-09-10 13:59:45 +02:00
Jeremy Gardais 06745b14c8
Install fusioninventory-agent packages and dep 2018-09-10 11:33:08 +02:00