Ansible Role glpi_agent¶
This role installs and configures the GLPI Agent.
Available since LFOps 3.0.0.
Dependent Roles¶
Any LFOps playbook that installs this role runs these for you. Optional ones can be disabled via the playbook’s skip variables.
On RHEL-compatible systems, the EPEL repository must be enabled (role: linuxfabrik.lfops.repo_epel).
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'