diff options
| author | Colin Wilk <colin.wilk@tum.de> | 2023-05-29 10:39:12 +0200 |
|---|---|---|
| committer | Colin Wilk <colin.wilk@tum.de> | 2023-05-29 10:39:12 +0200 |
| commit | 3e545357833872a6c344169000c035802a43f97a (patch) | |
| tree | 14a5a624b1b113dd62b6d64fa738d63645ee8a36 /defaults/main.yml | |
| parent | bdddf45831658a96400b3913ee6c2fb8d63cb94a (diff) | |
| download | ansible-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 'defaults/main.yml')
| -rw-r--r-- | defaults/main.yml | 2 |
1 files changed, 1 insertions, 1 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: '' |