add exporters
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2022-05-29 15:15:02 +02:00
parent 1a886ad9d4
commit f7ffff3b8d
10 changed files with 93 additions and 22 deletions

View File

@ -53,26 +53,10 @@
community.general.ufw:
state: enabled
- name: Copy datadog repo config
copy:
src: datadog.list
dest: /etc/apt/sources.list.d/datadog.list
mode: 0655
owner: root
group: root
- name: "Install datadog-agent"
- name: "Install haproxy exporter"
apt:
update_cache: yes
state: present
name:
- datadog-agent
- name: "Generate datadog configuration"
ansible.builtin.template:
src: datadog.yaml
dest: /etc/datadog-agent/datadog.yaml
owner: dd-agent
group: dd-agent
mode: '0640'
- prometheus-haproxy-exporter
...