r/minio: Configure firewall

The firewall needs to allow inbound connections to the MinIO HTTP API
and web UI ports.
step-ssh
Dustin 2023-06-08 10:07:32 -05:00
parent 4776303db2
commit b05edbf7fb
1 changed files with 13 additions and 0 deletions

View File

@ -105,3 +105,16 @@
state: started
tags:
- service
- name: ensure firewall is configured for minio
firewalld:
port: '{{ item }}/tcp'
permanent: true
immediate: true
state: enabled
loop:
- 9000
- 9090
when: host_uses_firewalld|d(true)|bool
tags:
- firewalld