Skip to content

Commit

Permalink
add port 20000 for netdata to default open ports
Browse files Browse the repository at this point in the history
  • Loading branch information
ndc-rkevans authored Aug 21, 2023
1 parent 27c1021 commit 99fd92a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/roles/haproxy/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,12 @@
fully_open_ports:
- 80
- 443
- 20000

- name: Add port 20000 to world-accessible list if installing netdata
set_fact:
fully_open_ports: "{{ fully_open_ports }} + [ 20000 ]"
when: m_install_netdata
#- name: Add port 20000 to world-accessible list if installing netdata
# set_fact:
# fully_open_ports: "{{ fully_open_ports }} + [ 20000 ]"
# when: m_install_netdata

- name: Ensure port {{ fully_open_ports | join(', ') }} open to the world for haproxy
include_role:
Expand Down

0 comments on commit 99fd92a

Please sign in to comment.