--- prometheus_target_host: prometheus # FIXME: Non default argument_spec prometheus_target_strategy: lineinfile ################################################################################ # handler configuration ################################################################################ prometheus_target_handler_command_enabled: false prometheus_target_handler_command_become: true # 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: # cmd: # creates: # executable: # free_form: # removes: # stdin: # stdin_add_newline: ################################################################################ # lineinfile strategy configuration ################################################################################ prometheus_target_strategy_lineinfile_prefix: ' - ' prometheus_target_strategy_lineinfile_suffix: '' ################################################################################ # Exporter configuration ################################################################################ prometheus_target_exporter_defaults: node_exporter: path: /opt/prometheus/targets.yml host: '{{ inventory_hostname }}' prometheus_target_exporter: [] # - id: node_exporter # # overwrites prometheus_target_exporter_defaults.node_exporter.path # path: /path/to/targets/file/on/prometheus/host # # overwrites: prometheus_target_exporter_defaults.node_exporter.host # host: '{{ inventory_hostname }}:9100' default_hostname: '{{ inventory_hostname }}' # TODO: Implement