- name: Open PostgreSQL port in firewall firewalld: port: 5432/tcp permanent: true state: enabled become: true tags: - firewall - name: Reload firewall using command command: firewall-cmd --reload become: true tags: - firewall