2
0
Fork 0
This repository has been archived on 2023-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
ansible.fusioninventory/defaults/main.yml

298 lines
8.9 KiB
YAML
Raw Normal View History

---
# .. 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.4-2'
# ]]]
# .. 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: '{{ "http://debian.fusioninventory.org/downloads/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``
2018-09-10 14:02:41 +02:00
# 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_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
# ]]]
# ]]]
2018-09-10 14:02:41 +02:00
# 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'
# ]]]
2021-08-27 15:17:46 +02:00
# .. 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
2021-08-27 15:17:46 +02:00
# ]]]
# .. 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
2018-09-10 14:02:41 +02:00
# ]]]
# ]]]