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

235 lines
7.1 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
# .. 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``
# 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
# ]]]
# ]]]
# 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_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
# ]]]
# ]]]