Skip to content
Snippets Groups Projects

fix node exporter with firewalld enabled

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -59,10 +59,10 @@
state: restarted
enabled: true
- name: collect facts about system services
- name: Collect facts about system services
ansible.builtin.service_facts:
- name: Configure firewalld to allow ssh and sshpiper traffic
- name: Configure firewalld to allow prometheus
ansible.posix.firewalld:
port: "{{ node_exporter_port }}/tcp"
zone: public
Loading