aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/molecule/default
diff options
context:
space:
mode:
authorColin Wilk <colin.wilk@tum.de>2023-05-29 10:39:12 +0200
committerColin Wilk <colin.wilk@tum.de>2023-05-29 10:39:12 +0200
commit3e545357833872a6c344169000c035802a43f97a (patch)
tree14a5a624b1b113dd62b6d64fa738d63645ee8a36 /molecule/default
parentbdddf45831658a96400b3913ee6c2fb8d63cb94a (diff)
downloadansible-role-prometheus-target-3e545357833872a6c344169000c035802a43f97a.tar.gz
ansible-role-prometheus-target-3e545357833872a6c344169000c035802a43f97a.zip
Switch to 4 space indentation by default for lineinfile strategy
This will change indentation in target files like: - labels: exporter: node targets: - host:9100 to - labels: exporter: node targets: - host:9100 Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to 'molecule/default')
-rw-r--r--molecule/default/tests/test_check_prometheus_targets.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/molecule/default/tests/test_check_prometheus_targets.py b/molecule/default/tests/test_check_prometheus_targets.py
index 8a0f413..a793478 100644
--- a/molecule/default/tests/test_check_prometheus_targets.py
+++ b/molecule/default/tests/test_check_prometheus_targets.py
@@ -10,7 +10,7 @@ def test_check_hosts_added(host):
assert t2.exists
assert t3.exists
- assert ' - application' in t1.content_string
- assert ' - test1' in t2.content_string
- assert ' - test2' in t2.content_string
- assert ' - application_AA' in t3.content_string
+ assert ' - application' in t1.content_string
+ assert ' - test1' in t2.content_string
+ assert ' - test2' in t2.content_string
+ assert ' - application_AA' in t3.content_string