aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/defaults
diff options
context:
space:
mode:
authorColin Wilk <colin.wilk@tum.de>2023-06-15 22:40:27 +0200
committerColin Wilk <colin.wilk@tum.de>2023-06-15 22:52:07 +0200
commit579b168b2c93daee67ede17ee3289da1678b3833 (patch)
tree697ffd94cdcb0f8a8e3510947c7aafade4df8594 /defaults
parentcb503dc08f1c1b447d869d48e57069156574a1fd (diff)
downloadansible-role-prometheus-target-1.1.0.tar.gz
ansible-role-prometheus-target-1.1.0.zip
Add ability to use exporter without id propertyv1.1.0
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>
Diffstat (limited to 'defaults')
0 files changed, 0 insertions, 0 deletions