aboutsummaryrefslogtreecommitdiffstats
path: root/tasks/jail_postgres.yml
blob: 42cdacf15ede62783a8ca888ef65a331e569ffb4 (plain)
1
2
3
4
5
6
7
8
9
10
- name: Install packages inside jail
  loop:
    - { jail: postgres, package: postgresql18-server }
  include_tasks: pkg_jail_install.yml

- name: Enable postgresql service inside jail
  shell: |
    service -j postgres postgresql enable
  changed_when: false
# Run initdb and start manually, not managed by Ansible