aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tasks/process_exporter.yml
diff options
context:
space:
mode:
authorColin Wilk <colin@wilk.cx>2026-08-11 01:39:58 +0200
committerColin Wilk <colin@wilk.cx>2026-08-11 01:45:24 +0200
commitac3c94b3159acf91674fdd61396e5811a6a55fb3 (patch)
treea9f8c3f86308835d100e638edfc68cbf77ffecc8 /tasks/process_exporter.yml
parentf31bda03a2922d2b7d09be6772a5cf28f0981c8b (diff)
downloadansible-role-prometheus-target-ac3c94b3159acf91674fdd61396e5811a6a55fb3.tar.gz
ansible-role-prometheus-target-ac3c94b3159acf91674fdd61396e5811a6a55fb3.zip
Fix pre-commit lint violations
Diffstat (limited to 'tasks/process_exporter.yml')
-rw-r--r--tasks/process_exporter.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/process_exporter.yml b/tasks/process_exporter.yml
index 0a19480..25d1749 100644
--- a/tasks/process_exporter.yml
+++ b/tasks/process_exporter.yml
@@ -17,8 +17,8 @@
- name: Validate exporter state
ansible.builtin.assert:
- that: _target_state in ["present", "absent"]
- fail_msg: "Exporter state must be 'present' or 'absent', got '{{ _target_state }}'"
+ that: _target_state in ['present', 'absent']
+ fail_msg: Exporter state must be 'present' or 'absent', got '{{ _target_state }}'
- name: Execute strategy
ansible.builtin.include_tasks: