An ansible role to install Pandora FMS server.
A running MySQL instance that has completed its initial configuration if you want to start pandora_server
service.
Variable | Default | Description |
---|---|---|
pandorafms_server_version |
- | The version of the Pandora FMS console to install. When null , latest package on the repository will be installed. |
pandorafms_server_dbhost |
pandorafms_dbhost if defined, otherwise 'localhost' |
The IP address or hostname of the DB instance to create database for Pandora FMS. |
pandorafms_server_dbname |
pandorafms_dbname if defined, otherwise 'pandora' |
The name of the Pandora FMS database. |
pandorafms_server_dbuser |
pandorafms_dbname if defined, otherwise 'pandora' |
The username for the Pandora FMS database. |
pandorafms_server_dbpass |
pandorafms_dbname if defined, otherwise 'pandora' |
The password of the pandorafms_dbuser |
pandorafms_server_dbport |
pandorafms_dbname if defined, otherwise omit |
The port number used for connecting to database. |
pandorafms_server_service_enabled |
- | When set to true or false , pandora_server serivce will be enabled/diable. |
pandorafms_server_service_state |
- | When set, state of pandora_server serivce will be changed to specified state. |
- rworksjp.repo-pandorafms
# Only install package
- hosts: servers
roles:
- role: rworksjp.pandorafms_server
# Install Pandora FMS server 7.0NG.719, enable and start pandora_server service
- hosts: servers
roles:
- role: rworksjp.pandorafms_console
pandorafms_server_version: 7.0NG.719
pandorafms_server_service_enabled: true
pandorafms_server_service_state: started
BSD