aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/molecule/default/converge.yml
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to use exporter without id propertyv1.1.0Colin Wilk2023-06-151-0/+2
| | | | | | | | | | | | | | | | | 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>
* Add ability to specify target path prefixColin Wilk2023-06-111-1/+44
| | | | | | | | 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>
* Add tests for hook functionality and lineinfile parametersColin Wilk2023-06-031-13/+80
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Make prometheus_target_host a required variableColin Wilk2023-05-271-0/+1
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Add molecule with some simple test casesColin Wilk2023-05-271-0/+43
Signed-off-by: Colin Wilk <colin.wilk@tum.de>