mirror of
https://github.com/geerlingguy/ansible-role-postgresql.git
synced 2025-06-02 18:51:59 -04:00
issue #254 - defaults and doc for postgresql_privs module
This commit is contained in:
parent
93fd472048
commit
39c20fcc2a
1 changed files with 20 additions and 1 deletions
|
@ -58,7 +58,6 @@ postgresql_users: []
|
||||||
# - name: jdoe #required; the rest are optional
|
# - name: jdoe #required; the rest are optional
|
||||||
# password: # defaults to not set
|
# password: # defaults to not set
|
||||||
# encrypted: # defaults to not set
|
# encrypted: # defaults to not set
|
||||||
# priv: # defaults to not set
|
|
||||||
# role_attr_flags: # defaults to not set
|
# role_attr_flags: # defaults to not set
|
||||||
# db: # defaults to not set
|
# db: # defaults to not set
|
||||||
# login_host: # defaults to 'localhost'
|
# login_host: # defaults to 'localhost'
|
||||||
|
@ -68,5 +67,25 @@ postgresql_users: []
|
||||||
# port: # defaults to not set
|
# port: # defaults to not set
|
||||||
# state: # defaults to 'present'
|
# state: # defaults to 'present'
|
||||||
|
|
||||||
|
# Privileges to configure
|
||||||
|
# see https://docs.ansible.com/ansible/latest/collections/community/postgresql/postgresql_privs_module.html#ansible-collections-community-postgresql-postgresql-privs-module
|
||||||
|
postgresql_privs: []
|
||||||
|
# - db: exampledb # database (required)
|
||||||
|
# roles: jdoe # role(s) the privs apply to (required)
|
||||||
|
# privs: # comma separated list of privileges - defaults to not set
|
||||||
|
# type: # type of database object to set privileges on - defaults to not set
|
||||||
|
# objs: # list of database objects to set privileges on - defaults to not set
|
||||||
|
# schema: # defaults to not set
|
||||||
|
# session_role: # defaults to not set
|
||||||
|
# fail_on_role: # defaults to true
|
||||||
|
# grant_option: # defaults to not set
|
||||||
|
# target_roles: # defaults to not set
|
||||||
|
# login_host: # defaults to 'localhost'
|
||||||
|
# login_password: # defaults to not set
|
||||||
|
# login_user: # defaults to '{{ postgresql_user }}'
|
||||||
|
# login_unix_socket: # defaults to 1st of postgresql_unix_socket_directories
|
||||||
|
# port: # defaults to not set
|
||||||
|
# state: # defaults to 'present'
|
||||||
|
|
||||||
# Whether to output user data when managing users.
|
# Whether to output user data when managing users.
|
||||||
postgres_users_no_log: true
|
postgres_users_no_log: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue