diff options
| author | Colin Wilk <colin.wilk@tum.de> | 2023-05-30 17:04:33 +0200 |
|---|---|---|
| committer | Colin Wilk <colin.wilk@tum.de> | 2023-05-30 18:38:11 +0200 |
| commit | fcf5bf4d03c9a92f618c4ed2cb56484ed4ed4bb8 (patch) | |
| tree | e586141eaceaee9d12c94dfe79d22823f718c0e8 /defaults/main.yml | |
| parent | 4565318b0f305a4872967672ab22426ac1c2bc44 (diff) | |
| download | ansible-role-prometheus-target-fcf5bf4d03c9a92f618c4ed2cb56484ed4ed4bb8.tar.gz ansible-role-prometheus-target-fcf5bf4d03c9a92f618c4ed2cb56484ed4ed4bb8.zip | |
Add become_user and become_method config variables to handlers
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to 'defaults/main.yml')
| -rw-r--r-- | defaults/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/defaults/main.yml b/defaults/main.yml index 58d6f4b..5589273 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -28,6 +28,8 @@ prometheus_target_handler_command_enabled: false # instance with a curl command, or ssh with the prometheus user, this may not be # necessary. prometheus_target_handler_command_become: true +# prometheus_target_handler_command_become_method: +# prometheus_target_handler_command_become_user: # This is the configuration for the command module. For documentation see: # https://docs.ansible.com/ansible/latest/collections/ansible/builtin/command_module.html @@ -50,6 +52,8 @@ prometheus_target_handler_shell_enabled: false # This will configure if the shell handler is run with root privileges or not. # See documentation for prometheus_target_handler_command_become above. prometheus_target_handler_shell_become: true +# prometheus_target_handler_shell_become_method: +# prometheus_target_handler_shell_become_user: # This is the configuration for the shell module. For documentation see: # https://docs.ansible.com/ansible/latest/collections/ansible/builtin/shell_module.html |