5
0
Fork 0

Package URL is defined only for Debian Stretch

This commit is contained in:
Jeremy Gardais 2019-01-18 11:38:28 +01:00
parent 0bdaa232bf
commit 66993cb3cd
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
3 changed files with 13 additions and 5 deletions

View File

@ -1,5 +1,10 @@
## v1.0
## v1.0.1
### Features
* Package URL is defined only for Debian Stretch.
## v1.0.0
### Features
* Install dependent packages for fusioninventory-agent.
@ -8,4 +13,4 @@
* If desired, remove fusioninventory-agent package.
* Generate agent's configuration file.
* Restart agent's service if needed.
* Ensure to install xz-utils to allow ansible to a package out of a repos.
* Ensure to install xz-utils to allow ansible to install a debian package manually.

View File

@ -16,7 +16,7 @@ A role to manage FusionInventory agent installation and configuration.
* **fusioninventory__agent_version** : The version of Fusioninventory agent to install [default : `2.4-2`].
* **fusioninventory__agent_depend_packages** : List of dependent packages to install.
* **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`].
* **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_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_manage** : If the fusioninventory agent service should be managed [default : `True`].
@ -33,7 +33,7 @@ A role to manage FusionInventory agent installation and configuration.
tags: ['role::fusioninventory', 'ipr', inventory']
```
* Install fusioninventory-agent from repository (unavailable in Debian Stretch) :
* Install fusioninventory-agent from repository (unavailable in Debian Stretch and by default for all other release) :
``` yaml
- hosts: mynode.DOMAIN

View File

@ -44,7 +44,10 @@ fusioninventory__agent_depend_packages:
# See the official documentation for more informations :
# http://fusioninventory.org/documentation/agent/installation/linux/deb.html
#
fusioninventory__agent_package_url: 'http://debian.fusioninventory.org/downloads/fusioninventory-agent_{{ fusioninventory__agent_version }}_all.deb'
fusioninventory__agent_package_url: '{{ "http://debian.fusioninventory.org/downloads/fusioninventory-agent_"+ fusioninventory__agent_version + "_all.deb"
if (ansible_distribution_release in
([ "stretch" ]))
else "" }}'
# ]]]
# .. envvar:: fusioninventory__agent_deploy_state [[[
#