* fix: Add test for argument_specs matching
Compare contents of `meta/arguments_spec.yml` against `defaults/main.yml` on
each role to make sure keys match.
Signed-off-by: SuperQ <superq@gmail.com>
* Fixup arguments_spec linting issues.
Signed-off-by: SuperQ <superq@gmail.com>
---------
Signed-off-by: SuperQ <superq@gmail.com>
* feature: Make config installation dir configurable
Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
* fix: blackbox_exporter_config_dir consistent
- Made blackbox_exporter_config_dir parameter consistent with other
collection roles
- Added new parameter to meta/argument_specs.yml
Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
---------
Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
This is similar to prometheus_skip_install variable and does what the
name says: when set, it won't try to re-download blackbox_exporter
binary
Also, fix a small typo in the preflight task.
Signed-off-by: Christian Brabandt <cb@256bit.org>
Move role repo discovery to a script to avoid shell escaping issues.
* Fix up argument_specs.yml.
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Allow long lines in the arguments_spec to avoid line wrapping. This
allows the files to be processed with `yq` without constant diffs and
errors.
Signed-off-by: prombot <prometheus-team@googlegroups.com>