2
0
Fork 0

Upgrade package from URL to 2.6

Fix #15
This commit is contained in:
Jeremy Gardais 2022-11-07 13:28:47 +01:00
parent 8c2bf15fe6
commit 575004b092
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
3 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,8 @@
## v1.X.Y ## v1.X.Y
### Enhancement
* Upgrade package version from URL from 2.4 to 2.6 (thanks to @roumano - issue #15).
### Fix ### Fix
* Switch to Github URL to download deb file (thanks to @roumano - PR #16). * Switch to Github URL to download deb file (thanks to @roumano - PR #16).
* Pipe ansible_managed to `comment` jinja filter to manage multi-lines. * Pipe ansible_managed to `comment` jinja filter to manage multi-lines.

View File

@ -15,11 +15,11 @@ A role to manage FusionInventory agent installation and configuration.
## Role Variables ## Role Variables
* **fusioninventory__agent_version**: The version of Fusioninventory agent to install [default: `2.4-2`]. * **fusioninventory__agent_version**: The version of Fusioninventory agent to install [default: `2.6-1`].
* **fusioninventory__agent_depend_packages**: List of dependent packages to install. * **fusioninventory__agent_depend_packages**: List of dependent packages to install.
* **fusioninventory__agent_recommend_packages**: List of recommended packages to install. * **fusioninventory__agent_recommend_packages**: List of recommended packages to install.
* **fusioninventory__agent_extra_packages**: List of extra packages to install (eg. to allow installation from a .deb file from Ansible). * **fusioninventory__agent_extra_packages**: List of extra packages to install (eg. to allow installation from a .deb file from Ansible).
* **fusioninventory__agent_package_url**: The URL used to download deb package for fusioninventory-agent [default: `http://debian.fusioninventory.org/downloads/fusioninventory-agent_{{ fusioninventory__agent_version }}_all.deb` for Debian Stretch only]. * **fusioninventory__agent_package_url**: The URL used to download deb package for fusioninventory-agent [default: `"https://github.com/fusioninventory/fusioninventory-agent/releases/download/" + fusioninventory__agent_major_version + "/fusioninventory-agent_" + fusioninventory__agent_version + "_all.deb"` for Debian Stretch only].
* **fusioninventory__agent_deploy_state**: What is the desired state which this role should achieve [default: `present`]. * **fusioninventory__agent_deploy_state**: What is the desired state which this role should achieve [default: `present`].
* **fusioninventory__agent_service_name**: The service name to manage [default: `fusioninventory-agent`]. * **fusioninventory__agent_service_name**: The service name to manage [default: `fusioninventory-agent`].
* **fusioninventory__agent_service_manage**: If the fusioninventory agent service should be managed [default: `true`]. * **fusioninventory__agent_service_manage**: If the fusioninventory agent service should be managed [default: `true`].

View File

@ -11,8 +11,8 @@
# #
# The version of Fusioninventory agent to install. # The version of Fusioninventory agent to install.
# #
fusioninventory__agent_version: '2.5.2-1' fusioninventory__agent_version: '2.6-1'
fusioninventory__agent_major_version: '2.5.2' fusioninventory__agent_major_version: '2.6'
# ]]] # ]]]
# .. envvar:: fusioninventory__agent_package_url [[[ # .. envvar:: fusioninventory__agent_package_url [[[
# #