2019-11-22 15:30:10 +01:00
|
|
|
- include_tasks: postgresql_privs_session_role.yml
|
|
|
|
when: postgres_version_resp.stdout is version('9.4', '>=')
|
|
|
|
|
2019-09-26 11:53:13 +02:00
|
|
|
# Initial CI tests of postgresql_privs module:
|
2019-11-22 15:30:10 +01:00
|
|
|
- include_tasks: postgresql_privs_initial.yml
|
2019-10-25 15:39:49 +02:00
|
|
|
when: postgres_version_resp.stdout is version('9.4', '>=')
|
2019-09-26 11:53:13 +02:00
|
|
|
|
|
|
|
# General tests:
|
2019-11-22 15:30:10 +01:00
|
|
|
- include_tasks: postgresql_privs_general.yml
|
2019-10-25 15:39:49 +02:00
|
|
|
when: postgres_version_resp.stdout is version('9.4', '>=')
|
2019-09-26 11:53:13 +02:00
|
|
|
|
|
|
|
# Tests default_privs with target_role:
|
2019-11-22 15:30:10 +01:00
|
|
|
- include_tasks: test_target_role.yml
|
2019-10-25 15:39:49 +02:00
|
|
|
when: postgres_version_resp.stdout is version('9.4', '>=')
|