2020-09-25 08:01:17 +02:00
|
|
|
####################################################################
|
|
|
|
# WARNING: These are designed specifically for Ansible tests #
|
|
|
|
# and should not be used as examples of how to write Ansible roles #
|
|
|
|
####################################################################
|
|
|
|
|
2020-03-09 10:11:07 +01:00
|
|
|
- include_tasks: postgresql_privs_session_role.yml
|
|
|
|
when: postgres_version_resp.stdout is version('9.4', '>=')
|
|
|
|
|
|
|
|
# Initial CI tests of postgresql_privs module:
|
|
|
|
- include_tasks: postgresql_privs_initial.yml
|
|
|
|
when: postgres_version_resp.stdout is version('9.4', '>=')
|
|
|
|
|
|
|
|
# General tests:
|
|
|
|
- include_tasks: postgresql_privs_general.yml
|
|
|
|
when: postgres_version_resp.stdout is version('9.4', '>=')
|
|
|
|
|
|
|
|
# Tests default_privs with target_role:
|
|
|
|
- include_tasks: test_target_role.yml
|
|
|
|
when: postgres_version_resp.stdout is version('9.4', '>=')
|