ansible-roles/postgresql/tasks/main.yml

23 lines
465 B
YAML
Raw Normal View History

2016-12-22 16:12:34 +01:00
---
- include: locales.yml
2016-12-22 16:12:34 +01:00
- include: packages_jessie.yml
when: ansible_distribution_release == "jessie"
- include: packages_stretch.yml
when: ansible_distribution_major_version is version('9', '=')
- include: packages_buster.yml
when: ansible_distribution_major_version is version('10', '>=')
2017-01-05 18:10:07 +01:00
2016-12-22 16:12:34 +01:00
- include: config.yml
2017-01-05 18:10:07 +01:00
2016-12-22 16:12:34 +01:00
- include: nrpe.yml
2017-01-05 18:10:07 +01:00
2016-12-22 16:12:34 +01:00
- include: munin.yml
2017-01-05 18:10:07 +01:00
- include: logrotate.yml
- include: postgis.yml
when: postgresql_install_postgis == "true"