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

40 lines
1.1 KiB
YAML

---
- import_tasks: postgresql_org_repo.yml
when: pg_use_postgresql_org_repo
- import_tasks: packages.yml
when: psql_postgresql_install
- import_tasks: postgis.yml
when: postgres_install_gis_extensions
- import_tasks: postgresql-config.yml
when: psql_postgresql_install
- import_tasks: postgresql-ssl-config.yml
when: psql_postgresql_install
- import_tasks: psql-kernel-sharedmem.yml
when:
- psql_postgresql_install | bool
- psql_set_shared_memory | bool
- import_tasks: configure-access.yml
when:
- psql_postgresql_install | bool
- import_tasks: postgresql-service-status.yml
when: psql_postgresql_install
- import_tasks: postgres_pgpool.yml
when: psql_pgpool_install
- import_tasks: manage_pg_db.yml
when:
- psql_postgresql_install | bool
- psql_db_data is defined | bool
- import_tasks: postgresql-backup.yml
when:
- psql_postgresql_install | bool
- import_tasks: pgpool-ii.yml
when: psql_pgpool_service_install | bool
- import_tasks: postgresql-letsencrypt-acmetool.yml
when:
- letsencrypt_acme_install is defined
- import_tasks: pgpool-letsencrypt-acmetool.yml
when:
- letsencrypt_acme_install is defined