aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/defaults
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to specify target path prefixColin Wilk2023-06-111-2/+13
| | | | | | | | This will decrease the amount of redundant configuration for users by allowing them to specify a general prefix on global / exporter / play level Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Add ability to configure default exportersColin Wilk2023-05-301-2/+2
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Add become_user and become_method config variables to handlersColin Wilk2023-05-301-0/+4
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Switch to 4 space indentation by default for lineinfile strategyColin Wilk2023-05-291-1/+1
| | | | | | | | | | | | | | | | | | 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>
* Add documentation for defaultsColin Wilk2023-05-271-6/+77
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Make prometheus_target_host a required variableColin Wilk2023-05-271-1/+1
| | | | Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Switch to single host per exporter configurationColin Wilk2023-05-271-2/+4
| | | | | | | | | | | | | | | | | Before you could do multiple hosts per exporter like this: - id: node_exporter hosts: - host1 - host2 This was removed since it simplifies the code quite a bit and you can still archive the same behavior like this: - { id: node_exporter, host: host1 } - { id: node_exporter, host: host2 } Signed-off-by: Colin Wilk <colin.wilk@tum.de>
* Move hook ansible module config into their own config objectColin Wilk2023-05-261-17/+18
| | | | | | | | | | | | 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>
* initColin Wilk2023-05-261-0/+54
Signed-off-by: Colin Wilk <colin.wilk@tum.de>