aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tasks/main.yml
blob: 5a184f8fe107818cb69d9ebf3f3855ed5761a2b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- name: Process all exporters
  ansible.builtin.include_tasks:
    file: process_exporter.yml
  loop: '{{ prometheus_target_exporter +
         ([] if prometheus_target_skip_default_exporters else prometheus_target_default_exporters) }}'
  loop_control:
    loop_var: item

- name: Run handlers
  ansible.builtin.include_tasks:
    file: handlers.yml
  when: changed | default(false)