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:
@@ -105,3 +105,16 @@
|
|||||||
state: started
|
state: started
|
||||||
tags:
|
tags:
|
||||||
- service
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user