Rheinwerk.update_scollector_config
scollector config update
This role is used to update the scollector configuration, for example, early in the startup process before the services actually run.
Please note that this role will not start the service and assumes that the program is already installed.
Requirements
The target machine must have scollector installed.
Role Variables
The main variable for this role is _scollector
, which is a map containing all the configuration and settings for this role. Check defaults/main.yml
for more details.
Dependencies
None.
Example Playbook
This role takes the _scollector
variable from defaults/main.yml
as a template for your configuration and passes that configuration as a parameter to the role.
Here’s an example of how to use this role with parameters for variables:
- hosts: servers
vars:
SCOLLECTOR:
...
roles:
- { role: update_scollector_config, tags: [ 'scollector' ], _scollector: "{{ SCOLLECTOR }}" }
License
Please refer to the LICENSE.
Author Information
The original author is Daniel Schneller, who is part of the Rheinwerk project.
ansible-galaxy install Rheinwerk.update_scollector_config