312 lines
9.4 KiB
YAML
312 lines
9.4 KiB
YAML
---
|
||
# .. vim: foldmarker=[[[,]]]:foldmethod=marker
|
||
|
||
# ipr-cnrs.fusioninventory default variables [[[
|
||
# ======================================
|
||
|
||
# Packages and installation [[[
|
||
# -----------------------------
|
||
|
||
# .. envvar:: fusioninventory__agent_version [[[
|
||
#
|
||
# The version of Fusioninventory agent to install.
|
||
#
|
||
fusioninventory__agent_version: '2.6-1'
|
||
fusioninventory__agent_major_version: '2.6'
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_package_url [[[
|
||
#
|
||
# The URL used to download deb package for fusioninventory-agent.
|
||
#
|
||
# See the official documentation for more informations :
|
||
# http://fusioninventory.org/documentation/agent/installation/linux/deb.html
|
||
#
|
||
# Only works with Debian
|
||
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 "" }}'
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_deploy_state [[[
|
||
#
|
||
# What is the desired state which this role should achieve ? Possible options :
|
||
#
|
||
# ``present``
|
||
# Default. Ensure that fusioninventory agent is installed and configured as requested.
|
||
#
|
||
# ``absent``
|
||
# Ensure that fusioninventory agent is uninstalled.
|
||
#
|
||
fusioninventory__agent_deploy_state: 'present'
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_service_name [[[
|
||
#
|
||
# The service name to manage.
|
||
#
|
||
fusioninventory__agent_service_name: 'fusioninventory-agent'
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_service_status [[[
|
||
#
|
||
# The targeted service status.
|
||
#
|
||
fusioninventory__agent_service_status: 'started'
|
||
# ]]]
|
||
|
||
# .. envvar:: fusioninventory__agent_service_enabled [[[
|
||
#
|
||
# The targeted service status.
|
||
#
|
||
fusioninventory__agent_service_enabled: true
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_service_manage [[[
|
||
#
|
||
# If the fusioninventory agent service should be managed ? Possible options :
|
||
#
|
||
# ``True``
|
||
# Default. The service is started and enabled.
|
||
#
|
||
# ``False``
|
||
# The service is disabled from startup.
|
||
#
|
||
fusioninventory__agent_service_manage: true
|
||
|
||
# ]]]
|
||
# ]]]
|
||
# Configuration [[[
|
||
# -----------------------------
|
||
|
||
# .. envvar:: fusioninventory__agent_conf_src [[[
|
||
#
|
||
# Template used to provide agent configuration file.
|
||
#
|
||
# Must be a relative path from default/ directory of this role or to your
|
||
# ansible inventory directory.
|
||
#
|
||
fusioninventory__agent_conf_src: '../templates/etc/fusioninventory/agent.cfg.j2'
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_server_url [[[
|
||
#
|
||
# The URL of your Fusioninventory-server/GLPI/…
|
||
#
|
||
fusioninventory__agent_conf_server_url: ''
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_local_dir [[[
|
||
#
|
||
# Write tasks results in a directory
|
||
#
|
||
fusioninventory__agent_conf_local_dir: ''
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_no_task [[[
|
||
#
|
||
# Do not run given task.
|
||
# Should be a string with comma as a separator between tasks.
|
||
#
|
||
# ``''``
|
||
# Default. Empty so all tasks are runned.
|
||
#
|
||
fusioninventory__agent_conf_no_task: ''
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_tasks [[[
|
||
#
|
||
# Run given tasks in given order.
|
||
# Should be a string with comma as a separator between tasks.
|
||
#
|
||
# ``''``
|
||
# Default. Empty so default order is applied.
|
||
#
|
||
fusioninventory__agent_conf_tasks: ''
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_delaytime [[[
|
||
#
|
||
# Set an initial delay before the first target.
|
||
#
|
||
fusioninventory__agent_conf_delaytime: '3600'
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_no_category [[[
|
||
#
|
||
# Do not list given category items in inventory task.
|
||
# Should be a string with comma as a separator between categories.
|
||
#
|
||
# ``''``
|
||
# Default. Empty so all categories are listed.
|
||
#
|
||
fusioninventory__agent_conf_no_category: ''
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_scan_homedirs [[[
|
||
#
|
||
# Enable the scan of user home directories. Possible options :
|
||
#
|
||
# ``False``
|
||
# Default.
|
||
#
|
||
# ``True``
|
||
# The agent will scan homedirs.
|
||
#
|
||
fusioninventory__agent_conf_scan_homedirs: false
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_scan_profiles [[[
|
||
#
|
||
# Enable the scan of users list. Possible options :
|
||
#
|
||
# ``False``
|
||
# Default.
|
||
#
|
||
# ``True``
|
||
# The agent will scan user profile.
|
||
#
|
||
fusioninventory__agent_conf_scan_profiles: false
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_no_ssl_check [[[
|
||
#
|
||
# Disable check of the server SSL certificate. Possible options :
|
||
#
|
||
# ``False``
|
||
# Default. The server's SSL certificate must be valid.
|
||
#
|
||
# ``True``
|
||
# The server's SSL certificate will not be checked.
|
||
#
|
||
fusioninventory__agent_conf_no_ssl_check: false
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_no_httpd [[[
|
||
#
|
||
# Disable embedded web server. Possible options :
|
||
#
|
||
# ``True``
|
||
# Default.
|
||
#
|
||
# ``False``
|
||
# The webserver will listen on the httpd-port (default to 62354).
|
||
#
|
||
fusioninventory__agent_conf_no_httpd: true
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_httpd_ip: [[[
|
||
#
|
||
# Interface/IP, the webserver server should listen to :
|
||
#
|
||
# ``''``
|
||
# Default. Empty so listen on all interfaces.
|
||
#
|
||
fusioninventory__agent_conf_httpd_ip: ''
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_httpd_port: [[[
|
||
#
|
||
# TCP port used by the webserver server to listen :
|
||
#
|
||
# ``62354``
|
||
# Default.
|
||
#
|
||
fusioninventory__agent_conf_httpd_port: '62354'
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_httpd_trust: [[[
|
||
#
|
||
# hostname or IP or subnet authorized for http request :
|
||
#
|
||
# ````
|
||
# Default.
|
||
#
|
||
fusioninventory__agent_conf_httpd_trust: ''
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_log_logger: [[[
|
||
#
|
||
# Specifies the logger backend to use. The possible values are:
|
||
#
|
||
# ``syslog``
|
||
# Default. Log messages through the local syslog server.
|
||
#
|
||
# ``file``
|
||
# Log messages in a file.
|
||
#
|
||
# ``stderr``
|
||
# Log messages directly in the console.
|
||
#
|
||
fusioninventory__agent_conf_log_logger: 'syslog'
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_log_facility: [[[
|
||
#
|
||
# Specifies the syslog facility to use for the syslog logger backend.
|
||
# The possible values are:
|
||
#
|
||
# ``LOG_DAEMON``
|
||
# Default. System daemons without separate facility value.
|
||
#
|
||
# ``LOG_USER``
|
||
# Generic user-level messages
|
||
#
|
||
# ``…``
|
||
# For all possible values, check syslog(3) manual.
|
||
#
|
||
fusioninventory__agent_conf_log_facility: 'LOG_DAEMON'
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_log_file: [[[
|
||
#
|
||
# Specifies the file to use for the file logger backend.
|
||
#
|
||
# ``/var/log/fusioninventory.log``
|
||
# Default.
|
||
#
|
||
fusioninventory__agent_conf_log_file: '/var/log/fusioninventory.log'
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_log_file_maxsize: [[[
|
||
#
|
||
# Specifies the maximum size for the log file, in MB.
|
||
# When the max size is reached, the file is truncated.
|
||
#
|
||
# ``0``
|
||
# Default. 0 means unlimited size.
|
||
#
|
||
fusioninventory__agent_conf_log_file_maxsize: '0'
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_log_color [[[
|
||
#
|
||
# Enables color display for the stderr logger backend. Possible options :
|
||
#
|
||
# ``False``
|
||
# Default.
|
||
#
|
||
# ``True``
|
||
# Enable colors.
|
||
#
|
||
fusioninventory__agent_conf_log_color: false
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_tag [[[
|
||
#
|
||
# Add given tag to inventory results
|
||
#
|
||
# ``''``
|
||
# Default. Empty so results are send without any tag.
|
||
#
|
||
fusioninventory__agent_conf_tag: ''
|
||
|
||
# ]]]
|
||
# .. envvar:: fusioninventory__agent_conf_debug [[[
|
||
#
|
||
# If debug mode should be enabled. Possible options :
|
||
#
|
||
# ``False``
|
||
# Default.
|
||
#
|
||
# ``True``
|
||
# Debug mode is enable and fusioninventory-agent will send informations
|
||
# to journalctl/syslog/…
|
||
#
|
||
fusioninventory__agent_conf_debug: false
|
||
|
||
# ]]]
|
||
# ]]]
|