diff --git a/lotus-land-story/prometheus.yml b/lotus-land-story/prometheus.yml index 285b00f..c1d66fa 100644 --- a/lotus-land-story/prometheus.yml +++ b/lotus-land-story/prometheus.yml @@ -11,6 +11,14 @@ - prometheus-postgres-exporter state: present + - name: Configure node-exporter + ansible.builtin.lineinfile: + dest: /etc/default/prometheus-node-exporter + regexp: '^ARGS=' + # Include filesystems under /mnt + line: ARGS='--collector.filesystem.ignored-mount-points="^/(dev|proc|run|sys|media|var/lib/docker/.+)($|/)"' + state: present + # /usr/share/doc/prometheus-postgres-exporter/README.Debian - name: Configure postgres-exporter ansible.builtin.lineinfile: