courseworkrep/roles/postgresql/tasks/open_firewall.yml

13 lines
219 B
YAML
Raw Permalink Normal View History

2024-11-10 21:17:33 +00:00
- name: Open PostgreSQL port in firewall
firewalld:
port: 5432/tcp
permanent: true
state: enabled
become: true
2024-12-08 19:11:48 +00:00
- name: Reload firewalld
systemd:
name: firewalld
state: reloaded
2024-11-10 21:17:33 +00:00
become: true