diff --git a/CHANGELOG.md b/CHANGELOG.md index c8b046e..69dfc2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## v1.X.Y + +### Fix +* truthy warnings with ansible-lint. + ## v1.4.0 ### Add diff --git a/README.md b/README.md index 5be4ad4..978575d 100644 --- a/README.md +++ b/README.md @@ -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_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`]. +* **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`]. ### 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_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_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_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_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_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_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_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_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_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_debug** : If debug mode should be enabled [default⎵: `False`]. +* **fusioninventory__agent_conf_debug** : If debug mode should be enabled [default⎵: `false`]. ## Example Playbook diff --git a/defaults/main.yml b/defaults/main.yml index 45973ac..770f0f8 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -55,7 +55,7 @@ fusioninventory__agent_service_name: 'fusioninventory-agent' # ``False`` # 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`` # The agent will scan homedirs. # -fusioninventory__agent_conf_scan_homedirs: False +fusioninventory__agent_conf_scan_homedirs: false # ]]] # .. envvar:: fusioninventory__agent_conf_scan_profiles [[[ @@ -149,7 +149,7 @@ fusioninventory__agent_conf_scan_homedirs: False # ``True`` # 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 [[[ @@ -162,7 +162,7 @@ fusioninventory__agent_conf_scan_profiles: False # ``True`` # 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 [[[ @@ -175,7 +175,7 @@ fusioninventory__agent_conf_no_ssl_check: False # ``False`` # 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: [[[ @@ -267,7 +267,7 @@ fusioninventory__agent_conf_log_file_maxsize: '0' # ``True`` # Enable colors. # -fusioninventory__agent_conf_log_color: False +fusioninventory__agent_conf_log_color: false # ]]] # .. envvar:: fusioninventory__agent_conf_tag [[[ @@ -291,7 +291,7 @@ fusioninventory__agent_conf_tag: '' # Debug mode is enable and fusioninventory-agent will send informations # to journalctl/syslog/… # -fusioninventory__agent_conf_debug: False +fusioninventory__agent_conf_debug: false # ]]] # ]]]