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
Variable |
Description |
---|---|
|
String. Specifies the server to use both as a controller for the agent, and as a recipient for task execution output. |
Example:
# mandatory
glpi_agent__conf_server: 'https://glpi.example.com'
Optional Role Variables
Variable |
Description |
Default Value |
---|---|---|
|
String. Write the results of the tasks execution locally. |
|
|
Bool. Ignore self-signed certificates of the server. |
|
|
Specifies the fingerprint of the ssl server certificate to trust. The fingerprint to use can be retrieved in agent log by temporarily enabling |
unset |
|
Bool. Enables or disables the service, analogous to |
|
|
String. The version of blocky to install. Possible options: |
|
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'