aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/meta
diff options
context:
space:
mode:
authorColin Wilk <colin@wilk.cx>2026-08-11 00:54:41 +0200
committerColin Wilk <colin@wilk.cx>2026-08-11 00:54:41 +0200
commitc267536ecfbcf37e68226ade2ed29c3b1f356a98 (patch)
tree0fb9728b0095dd34b873fa6c137b75c60734940d /meta
parentc33948c219032977779a7ef6d82c16e84f37b81a (diff)
downloadansible-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.yml14
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