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

223 lines
6.7 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_depend_packages [[[
#
# List of dependent packages to install.
fusioninventory__agent_depend_packages:
- 'dmidecode'
- 'hwdata'
- 'hdparm'
- 'libuniversal-require-perl'
- 'libwww-perl'
- 'libparse-edid-perl'
- 'libproc-daemon-perl'
- 'libfile-which-perl'
- 'libhttp-daemon-perl'
- 'libxml-treepp-perl'
- 'libyaml-perl'
- 'libnet-cups-perl'
- 'libnet-ip-perl'
- 'libdigest-sha-perl'
2018-09-17 17:53:39 +02:00
- 'libjson-pp-perl'
- 'libsocket-getaddrinfo-perl'
- 'libtext-template-perl'
2018-09-17 17:53:39 +02:00
- 'lsb-base'
- 'xz-utils'
# ]]]
# .. 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
#
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_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.
#
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_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
# ]]]
# ]]]