community.general/lib/ansible/modules
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
..
cloud docker_host_facts: Get system-wide information about docker host (#51373) 2019-02-02 07:52:16 -05:00
clustering Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
commands toggle for stripping empty shell/command output (#51342) 2019-01-29 15:55:38 -05:00
crypto Relative time support for crypto modules (openssl_certificate) (#50570) 2019-01-22 20:41:02 +00:00
database Add session_role to postgresql modules (#43650) 2019-02-02 20:12:14 +01:00
files document how state=file works (#50986) 2019-01-29 16:35:08 -05:00
identity fix changed-behaviour in check mode (to not always return True) (#37776) 2019-01-31 10:59:00 -05:00
inventory
messaging rabbitmq_binding: Fix using empty routing key (#48597) 2018-12-19 08:30:41 -05:00
monitoring acknowledge operations are update operations now (#51304) 2019-01-29 09:51:18 -05:00
net_tools PR to implement support feature for creating NIOS network container (#51168) 2019-01-23 19:21:00 +05:30
network Fixes documentation example (#51643) 2019-02-01 21:32:02 -08:00
notification jabber: Fix joining group chats (#50846) 2019-01-14 22:30:48 +01:00
packaging dnf load substitutions from installroot (#51206) 2019-01-29 15:10:53 -05:00
remote_management Fix a potential issue with updating interfaces (#50464) 2019-02-02 12:44:57 +00:00
source_control update git.py (#51017) 2019-01-29 13:34:38 -05:00
storage Add module for Pure Storage FlashBlade to manage directory services (#44925) 2019-02-02 12:39:57 +00:00
system Use correct property name (#51511) 2019-01-30 17:26:23 -05:00
utilities Update documentation for ignore_unknown_extensions (#50383) 2019-01-22 12:56:10 -05:00
web_infrastructure Added Ansible UTM Module for managing AAA groups. (#49860) 2019-02-02 12:41:32 +00:00
windows win_power_plan - move to Ansible.Basic and other fixes (#51575) 2019-02-01 08:07:37 +10:00
__init__.py