2
0
Fork 0
Commit Graph

22 Commits

Author SHA1 Message Date
Tristan Charbonneau 417f6fc58f feat(service): manage service status and state
Service can either be enabled or disabled, enabled by default
Service can either be started, stopped, restarted, reloaded, started by
default
2023-08-04 09:59:00 +02:00
Jeremy Gardais dfad82144e
Don't manage dependencies when install from repos
Package manager (aptitude, yum, dnf,…) is intended to resolve and
install dependencies.
2021-08-02 12:06:25 +02:00
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
Mathieu Jourdan da8e53aac6 Fix with_first_found fail when vars file is missing 2021-06-16 09:20:40 +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
Jeremy Gardais 3f36889b0b
Add a default mode for ini_file 2021-06-10 11:39:38 +02:00
Mathieu Jourdan 0f0be2616c manage redhat's mess with repository names
names differ between RedHat 8, CentOS 8.2, CentOS 8.3+...
2021-05-11 17:05:21 +02:00
Mathieu Jourdan cb5929938d enable powertools repository for RedHat8 2021-03-15 12:11:47 +01:00
Mathieu Jourdan 2722fc9613 install epel repo from package 2021-03-15 11:52:28 +01: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