r/minio: Configure firewall

The firewall needs to allow inbound connections to the MinIO HTTP API
and web UI ports.
This commit is contained in:
2023-06-08 10:07:32 -05:00
parent 4776303db2
commit b05edbf7fb

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