From 1919b0525f8724b659282c8dbcc4b601bdf911f8 Mon Sep 17 00:00:00 2001 From: Christian Iuga Date: Tue, 25 Oct 2022 15:43:49 +0200 Subject: [PATCH] change url to github as debian.fusioninventory.org is dead bump version from 2.4 to 2.5 as this old version for linux is not in github --- defaults/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 770f0f8..898f90d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -11,7 +11,8 @@ # # The version of Fusioninventory agent to install. # -fusioninventory__agent_version: '2.4-2' +fusioninventory__agent_version: '2.5.2-1' +fusioninventory__agent_major_version: '2.5.2' # ]]] # .. envvar:: fusioninventory__agent_package_url [[[ # @@ -21,7 +22,7 @@ fusioninventory__agent_version: '2.4-2' # http://fusioninventory.org/documentation/agent/installation/linux/deb.html # # Only works with Debian -fusioninventory__agent_package_url: '{{ "http://debian.fusioninventory.org/downloads/fusioninventory-agent_"+ fusioninventory__agent_version + "_all.deb" +fusioninventory__agent_package_url: '{{ "https://github.com/fusioninventory/fusioninventory-agent/releases/download/" + fusioninventory__agent_major_version + "/fusioninventory-agent_" + fusioninventory__agent_version + "_all.deb" if (ansible_distribution_release in ([ "stretch" ])) else "" }}'