Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InfluxDB enable FirewallD and set rules #1305

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions group_vars/influxdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,13 @@ nginx_remove_default_vhost: true
nginx_ssl_role: usegalaxy-eu.certbot
nginx_conf_ssl_certificate: /etc/ssl/certs/fullchain.pem
nginx_conf_ssl_certificate_key: /etc/ssl/user/privkey-nginx.pem

firewall_public_services:
- http
- https
- d-s-n # name for port 8086
firewall_internal_services:
- http
- https
- ssh
- d-s-n
7 changes: 2 additions & 5 deletions influxdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,12 @@
persistent: true
loop:
- httpd_can_network_connect
- name: Disable firewalld service
ansible.builtin.service:
name: firewalld
enabled: false
state: stopped
collections:
- devsec.hardening
roles:
## Starting configuration of the operating system
- role: usegalaxy_eu.fw_glxeu_generic
become: true
- role: usegalaxy_eu.handy.os_setup
vars:
enable_hostname: true
Expand Down
Loading