| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This added information about the possible ssh-server overloading and
run_once locking issues.
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the run_once option for the two handler types (shell and
command). The variables `prometheus_target_handler_command_run_once`
and `prometheus_target_handler_shell_run_once` are introduced to
control this behavior.
For this change a switch from the Ansible Handlers to regular tasks was
necessary to enforce run_once behavior with delegated hosts. If you
don't rely on handler specific features such as deferring, nothing
changes when using the role.
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
|
|
|
| |
`MD024 Multiple headers with the same content`
Conflicts with using same sub-headers for the keepachangelog format
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The id property of the exporter is used for checking the default values
specified in `prometheus_target_exporter_defaults` variable.
However when both the `host` and the `path` fields are specified
manually in the `prometheus_target_exporter` list this id is never
looked up.
The way the templating was handled however, still resulted in an error
when leaving out the id field.
The templating code was now rewritten to allow for the following
exporter configuraion to run:
prometheus_target_exporter:
- { host: exporter_without_id, path: /opt/simple_target4.yml }
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
|
|
|
| |
Removing this so that multiline strings (and jinja code especially) can
be formatted in a more readable way.
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
|
|
|
|
| |
This will decrease the amount of redundant configuration for users by
allowing them to specify a general prefix on global / exporter / play
level
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
|
|
|
| |
Removing it since the dnf seems to be broken in the current :39 releases
and the other releases should test fedora enough.
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
|
|
|
| |
Fix typo in ansible-galaxy command which tries to install a collection
from the role repository.
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
|
|
| |
Add more distros to CI/CD and include them in the galaxy meta file.
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will change indentation in target files like:
- labels:
exporter: node
targets:
- host:9100
to
- labels:
exporter: node
targets:
- host:9100
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before you could do multiple hosts per exporter like this:
- id: node_exporter
hosts:
- host1
- host2
This was removed since it simplifies the code quite a bit and you can
still archive the same behavior like this:
- { id: node_exporter, host: host1 }
- { id: node_exporter, host: host2 }
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Keep
* prometheus_target_handler_command_enabled
* prometheus_target_handler_command_become
* prometheus_target_handler_shell_enabled
* prometheus_target_handler_shell_become
to avoid being overwritten when specifying
prometheus_target_handler_command or prometheus_target_handler_shell
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
| |
|
|
| |
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|
|
|
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
|