--- 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 # path: asd # hosts: ['{{ inventory_hostname }}'] default_hostname: '{{ inventory_hostname }}' # TODO: Implement