diff options
| author | Colin Wilk <colin@wilk.cx> | 2026-08-11 00:54:41 +0200 |
|---|---|---|
| committer | Colin Wilk <colin@wilk.cx> | 2026-08-11 00:54:41 +0200 |
| commit | c267536ecfbcf37e68226ade2ed29c3b1f356a98 (patch) | |
| tree | 0fb9728b0095dd34b873fa6c137b75c60734940d /meta | |
| parent | c33948c219032977779a7ef6d82c16e84f37b81a (diff) | |
| download | ansible-role-prometheus-target-c267536ecfbcf37e68226ade2ed29c3b1f356a98.tar.gz ansible-role-prometheus-target-c267536ecfbcf37e68226ade2ed29c3b1f356a98.zip | |
Add `state` option for removing exporters
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/argument_specs.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/argument_specs.yml b/meta/argument_specs.yml index b35c993..f0477a9 100644 --- a/meta/argument_specs.yml +++ b/meta/argument_specs.yml @@ -121,6 +121,13 @@ argument_specs: type: dict required: false description: Labels to match the target group in the YAML file (yaml strategy only) + state: + type: str + required: false + default: present + choices: + - present + - absent prometheus_target_default_exporters: type: list @@ -144,6 +151,13 @@ argument_specs: type: dict required: false description: Labels to match the target group in the YAML file (yaml strategy only) + state: + type: str + required: false + default: present + choices: + - present + - absent prometheus_target_skip_default_exporters: type: bool |