Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
make SELinux settings ipv6 compatible (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom authored Mar 29, 2019
1 parent 9bac24f commit 5daa93e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

- name: Allow Node Exporter port in SELinux on RedHat OS family
seport:
ports: "{{ node_exporter_web_listen_address.split(':')[1] }}"
ports: "{{ node_exporter_web_listen_address.split(':')[-1] }}"
proto: tcp
setype: http_port_t
state: present
Expand Down

0 comments on commit 5daa93e

Please sign in to comment.