ansible-roles/library/centos/roles/postgresql/postgresql/tasks/main.yml

19 lines
458 B
YAML

---
- import_tasks: pgdg_repo.yml
when:
- psql_install_from_pgdg_repo
- not psql_install_scl_version
- import_tasks: scl_repo.yml
when:
- not psql_install_from_pgdg_repo
- psql_install_scl_version
- import_tasks: packages.yml
- import_tasks: postgresql-backup.yml
- import_tasks: disable-service.yml
when: not psql_enabled
- import_tasks: configure-access.yml
when: psql_enabled
- import_tasks: manage_pg_db.yml
when: psql_enabled