ansible/test/integration
Feike Steenbergen 38e70ea317 Add session_role to postgresql modules (#43650)
* Allow session_role to be set for PostgreSQL

By implementing session_role it becomes possible to run the specific
PostgreSQL commands as a different role.
The usecase that is immediately served by this, is the one that one
ansible playbook can be shared by multiple users, which all have
their
own PostgreSQL login_user. They do not need to share login
credentials,
as they can share the role within the PostgreSQL database.

The following example may give some insight:

$ psql -U jdoe -X -d postgres

postgres=> CREATE DATABASE abc;
ERROR:  permission denied to create database
postgres=> set role postgres;
SET
postgres=# CREATE DATABASE abc;
CREATE DATABASE

fixes #43592

* Tests for session_role in PostgreSQL

* Bump version_added for session_role feature

* Remove explicit encrypted parameter from tests
2019-02-02 20:12:14 +01:00
..
host_vars
targets Add session_role to postgresql modules (#43650) 2019-02-02 20:12:14 +01:00
cloud-config-aws.yml.template
cloud-config-azure.yml.template
cloud-config-cloudscale.ini.template
cloud-config-cs.ini.template
cloud-config-gcp.yml.template
cloud-config-gitlab.yml.template Base integration test for gitlab modules (#51490) 2019-01-31 10:20:33 +00:00
cloud-config-opennebula.yml.template
cloud-config-openshift.kubeconfig.template
cloud-config-tower.cfg.template
cloud-config-vultr.ini.template
integration.cfg Enable force_handlers for integration tests. 2019-01-25 08:51:57 -08:00
integration_config.yml
inventory Further cleanup of integration test inventory. (#50919) 2019-01-15 16:42:49 -08:00
inventory.networking.template Rename MSC modules to MSO nomenclature (#50959) 2019-01-16 14:53:38 +01:00
inventory.remote.template
inventory.winrm.template Cleanup integration test inventory. (#50753) 2019-01-10 14:45:12 -08:00
network-integration.cfg Enable force_handlers for integration tests. 2019-01-25 08:51:57 -08:00
target-prefixes.network Rename MSC modules to MSO nomenclature (#50959) 2019-01-16 14:53:38 +01:00
windows-integration.cfg Enable force_handlers for integration tests. 2019-01-25 08:51:57 -08:00