diff options
| -rw-r--r-- | defaults/main.yml | 2 | ||||
| -rw-r--r-- | molecule/default/tests/test_check_prometheus_targets.py | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/defaults/main.yml b/defaults/main.yml index 4366edb..58d6f4b 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -79,7 +79,7 @@ prometheus_target_handler_shell_become: true # This configuration is mostly used for globally indenting all of your targets # in their target configuration and thus keeping this configuration away from # the exporter host variable. -prometheus_target_strategy_lineinfile_prefix: ' - ' +prometheus_target_strategy_lineinfile_prefix: ' - ' prometheus_target_strategy_lineinfile_suffix: '' 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 |