Ansible Role glpi_agent¶
This role installs and configures the GLPI Agent.
Mandatory Requirements¶
On RHEL-compatible systems, enable the EPEL repository. This can be done using the linuxfabrik.lfops.repo_epel role.
If you use the „GLPI Agent“ Playbook, this is automatically done for you.
Mandatory Role Variables¶
glpi_agent__conf_server
Specifies the server to use both as a controller for the agent, and as a recipient for task execution output.
Type: String.
Default: none
Example:
# mandatory
glpi_agent__conf_server: 'https://glpi.example.com'
Optional Role Variables¶
glpi_agent__conf_local
Write the results of the tasks execution locally.
Type: String.
Default:
'/tmp'
glpi_agent__conf_no_ssl_check
Ignore self-signed certificates of the server.
Type: Bool.
Default:
false
glpi_agent__conf_ssl_fingerprint
Specifies the fingerprint of the ssl server certificate to trust. The fingerprint to use can be retrieved in agent log by temporarily enabling
glpi_agent__conf_no_ssl_checkoption.Type: String.
Default: unset
glpi_agent__service_enabled
Enables or disables the service, analogous to
systemctl enable/disable --now.Type: Bool.
Default:
true
glpi_agent__version
The version of blocky to install. Possible options:
'latest', or any from https://github.com/glpi-project/glpi-agent/releases.Type: String.
Default:
'latest'
Example:
# optional
glpi_agent__conf_local: '/tmp'
glpi_agent__conf_no_ssl_check: false
glpi_agent__conf_ssl_fingerprint: 'sha256$...'
glpi_agent__service_enabled: true
glpi_agent__version: 'latest'