ansible-infra/collections/ansible_collections/nullified/infrastructure/roles/postgresql/tasks/main.yml

17 lines
410 B
YAML

---
- name: setup server
include_tasks: server.yml
when: postgresql_install_server is truthy
- name: setup client
include_tasks: client.yml
when: postgresql_install_client is truthy
- name: install firewall rules
become: true
template:
src: ../templates/nftables.d/postgresql.nft.j2
dest: /etc/nftables.d/postgresql.nft
mode: '0600'
notify:
- 'postgresql : load firewall rules'