2
0
Fork 0

Fix truthy warnings with ansible-lint.

This commit is contained in:
Jeremy Gardais 2021-08-27 16:39:45 +02:00
parent 61644d90ca
commit 2551c3bb9f
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
3 changed files with 19 additions and 14 deletions

View File

@ -1,3 +1,8 @@
## v1.X.Y
### Fix
* truthy warnings with ansible-lint.
## v1.4.0 ## v1.4.0
### Add ### Add

View File

@ -22,7 +22,7 @@ A role to manage FusionInventory agent installation and configuration.
* **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: `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_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`].
* **fusioninventory__agent_conf_src**: Template used to provide agent configuration file [default: `../templates/etc/fusioninventory/agent.cfg.j2`]. * **fusioninventory__agent_conf_src**: Template used to provide agent configuration file [default: `../templates/etc/fusioninventory/agent.cfg.j2`].
### Config Specific Variables ### Config Specific Variables
@ -35,10 +35,10 @@ Some variables used to generate FusionInventery agent.cfg file from Ansible temp
* **fusioninventory__agent_conf_tasks**: Run given tasks in given order (separated by a comma) [default⎵: ``]. * **fusioninventory__agent_conf_tasks**: Run given tasks in given order (separated by a comma) [default⎵: ``].
* **fusioninventory__agent_conf_delaytime**: Set an initial delay before the first target [default⎵: `3600`]. * **fusioninventory__agent_conf_delaytime**: Set an initial delay before the first target [default⎵: `3600`].
* **fusioninventory__agent_conf_no_category**: Do not list given category items in inventory task (separated by a comma) [default⎵: ``]. * **fusioninventory__agent_conf_no_category**: Do not list given category items in inventory task (separated by a comma) [default⎵: ``].
* **fusioninventory__agent_conf_scan_homedirs**: Enable the scan of user home directories [default⎵: `False`]. * **fusioninventory__agent_conf_scan_homedirs**: Enable the scan of user home directories [default⎵: `false`].
* **fusioninventory__agent_conf_scan_profiles**: Enable the scan of users list [default⎵: `False`]. * **fusioninventory__agent_conf_scan_profiles**: Enable the scan of users list [default⎵: `false`].
* **fusioninventory__agent_conf_no_ssl_check**: Disable check of the server SSL certificate [default⎵: `False`]. * **fusioninventory__agent_conf_no_ssl_check**: Disable check of the server SSL certificate [default⎵: `false`].
* **fusioninventory__agent_conf_no_httpd**: Disable embedded web server [default⎵: `True`]. * **fusioninventory__agent_conf_no_httpd**: Disable embedded web server [default⎵: `true`].
* **fusioninventory__agent_conf_httpd_ip**: Interface/IP, the webserver server should listen to [default⎵: ``]. * **fusioninventory__agent_conf_httpd_ip**: Interface/IP, the webserver server should listen to [default⎵: ``].
* **fusioninventory__agent_conf_httpd_port**: TCP port used by the webserver server to listen [default⎵: `62354`]. * **fusioninventory__agent_conf_httpd_port**: TCP port used by the webserver server to listen [default⎵: `62354`].
* **fusioninventory__agent_conf_httpd_trust**: hostname or IP or subnet authorized for http request [default⎵: ``]. * **fusioninventory__agent_conf_httpd_trust**: hostname or IP or subnet authorized for http request [default⎵: ``].
@ -46,9 +46,9 @@ Some variables used to generate FusionInventery agent.cfg file from Ansible temp
* **fusioninventory__agent_conf_log_facility**: Specifies the syslog facility to use for the syslog logger backend [default⎵: `LOG_DAEMON`]. * **fusioninventory__agent_conf_log_facility**: Specifies the syslog facility to use for the syslog logger backend [default⎵: `LOG_DAEMON`].
* **fusioninventory__agent_conf_log_file**: Specifies the file to use for the file logger backend [default⎵: `/var/log/fusioninventory.log`]. * **fusioninventory__agent_conf_log_file**: Specifies the file to use for the file logger backend [default⎵: `/var/log/fusioninventory.log`].
* **fusioninventory__agent_conf_log_file_maxsize**: Specifies the maximum size for the log file, in MB [default⎵: `0`]. * **fusioninventory__agent_conf_log_file_maxsize**: Specifies the maximum size for the log file, in MB [default⎵: `0`].
* **fusioninventory__agent_conf_log_color**: Enables color display for the stderr logger backend [default⎵: `False`]. * **fusioninventory__agent_conf_log_color**: Enables color display for the stderr logger backend [default⎵: `false`].
* **fusioninventory__agent_conf_tag**: Add given tag to inventory results [default⎵: ``]. * **fusioninventory__agent_conf_tag**: Add given tag to inventory results [default⎵: ``].
* **fusioninventory__agent_conf_debug**: If debug mode should be enabled [default⎵: `False`]. * **fusioninventory__agent_conf_debug**: If debug mode should be enabled [default⎵: `false`].
## Example Playbook ## Example Playbook

View File

@ -55,7 +55,7 @@ fusioninventory__agent_service_name: 'fusioninventory-agent'
# ``False`` # ``False``
# The service is disabled from startup. # The service is disabled from startup.
# #
fusioninventory__agent_service_manage: True fusioninventory__agent_service_manage: true
# ]]] # ]]]
# ]]] # ]]]
@ -136,7 +136,7 @@ fusioninventory__agent_conf_no_category: ''
# ``True`` # ``True``
# The agent will scan homedirs. # The agent will scan homedirs.
# #
fusioninventory__agent_conf_scan_homedirs: False fusioninventory__agent_conf_scan_homedirs: false
# ]]] # ]]]
# .. envvar:: fusioninventory__agent_conf_scan_profiles [[[ # .. envvar:: fusioninventory__agent_conf_scan_profiles [[[
@ -149,7 +149,7 @@ fusioninventory__agent_conf_scan_homedirs: False
# ``True`` # ``True``
# The agent will scan user profile. # The agent will scan user profile.
# #
fusioninventory__agent_conf_scan_profiles: False fusioninventory__agent_conf_scan_profiles: false
# ]]] # ]]]
# .. envvar:: fusioninventory__agent_conf_no_ssl_check [[[ # .. envvar:: fusioninventory__agent_conf_no_ssl_check [[[
@ -162,7 +162,7 @@ fusioninventory__agent_conf_scan_profiles: False
# ``True`` # ``True``
# The server's SSL certificate will not be checked. # The server's SSL certificate will not be checked.
# #
fusioninventory__agent_conf_no_ssl_check: False fusioninventory__agent_conf_no_ssl_check: false
# ]]] # ]]]
# .. envvar:: fusioninventory__agent_conf_no_httpd [[[ # .. envvar:: fusioninventory__agent_conf_no_httpd [[[
@ -175,7 +175,7 @@ fusioninventory__agent_conf_no_ssl_check: False
# ``False`` # ``False``
# The webserver will listen on the httpd-port (default to 62354). # The webserver will listen on the httpd-port (default to 62354).
# #
fusioninventory__agent_conf_no_httpd: True fusioninventory__agent_conf_no_httpd: true
# ]]] # ]]]
# .. envvar:: fusioninventory__agent_conf_httpd_ip: [[[ # .. envvar:: fusioninventory__agent_conf_httpd_ip: [[[
@ -267,7 +267,7 @@ fusioninventory__agent_conf_log_file_maxsize: '0'
# ``True`` # ``True``
# Enable colors. # Enable colors.
# #
fusioninventory__agent_conf_log_color: False fusioninventory__agent_conf_log_color: false
# ]]] # ]]]
# .. envvar:: fusioninventory__agent_conf_tag [[[ # .. envvar:: fusioninventory__agent_conf_tag [[[
@ -291,7 +291,7 @@ fusioninventory__agent_conf_tag: ''
# Debug mode is enable and fusioninventory-agent will send informations # Debug mode is enable and fusioninventory-agent will send informations
# to journalctl/syslog/… # to journalctl/syslog/…
# #
fusioninventory__agent_conf_debug: False fusioninventory__agent_conf_debug: false
# ]]] # ]]]
# ]]] # ]]]