diff options
| author | Colin Wilk <colin.wilk@tum.de> | 2023-05-26 23:51:14 +0200 |
|---|---|---|
| committer | Colin Wilk <colin.wilk@tum.de> | 2023-05-26 23:51:14 +0200 |
| commit | 86becf489d216cb6de226d544ca128696f41357e (patch) | |
| tree | 4d3c3bd9d56e7d0d9e20a7c38df2b6be5d8339c4 /defaults | |
| parent | 3ceba2777f69b452f4856f07b5f21a402cc1ac7b (diff) | |
| download | ansible-role-prometheus-target-86becf489d216cb6de226d544ca128696f41357e.tar.gz ansible-role-prometheus-target-86becf489d216cb6de226d544ca128696f41357e.zip | |
Move hook ansible module config into their own config object
Keep
* prometheus_target_handler_command_enabled
* prometheus_target_handler_command_become
* prometheus_target_handler_shell_enabled
* prometheus_target_handler_shell_become
to avoid being overwritten when specifying
prometheus_target_handler_command or prometheus_target_handler_shell
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to 'defaults')
| -rw-r--r-- | defaults/main.yml | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/defaults/main.yml b/defaults/main.yml index 034ca13..8c0435b 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -7,28 +7,29 @@ prometheus_target_strategy: lineinfile ################################################################################ # handler configuration ################################################################################ - prometheus_target_handler_command_enabled: false prometheus_target_handler_command_become: true -# prometheus_target_handler_command_argv: -# prometheus_target_handler_command_chdir: -# prometheus_target_handler_command_cmd: -# prometheus_target_handler_command_creates: -# prometheus_target_handler_command_free_form: -# prometheus_target_handler_command_removes: -# prometheus_target_handler_command_stdin: -# prometheus_target_handler_command_stdin_add_newline: +# prometheus_target_handler_command: +# argv: +# chdir: +# cmd: +# creates: +# free_form: +# removes: +# stdin: +# stdin_add_newline: prometheus_target_handler_shell_enabled: false prometheus_target_handler_shell_become: true -# prometheus_target_handler_shell_chdir: -# prometheus_target_handler_shell_cmd: -# prometheus_target_handler_shell_creates: -# prometheus_target_handler_shell_executable: -# prometheus_target_handler_shell_free_form: -# prometheus_target_handler_shell_removes: -# prometheus_target_handler_shell_stdin: -# prometheus_target_handler_shell_stdin_add_newline: +# prometheus_target_handler_shell: +# chdir: +# cmd: +# creates: +# executable: +# free_form: +# removes: +# stdin: +# stdin_add_newline: ################################################################################ # lineinfile strategy configuration |