mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-07 16:59:11 -07:00
postgresql modules: fix examples to use FQCN (#643)
This commit is contained in:
parent
a424ee71e3
commit
f62b8027e0
22 changed files with 138 additions and 138 deletions
|
@ -91,41 +91,41 @@ EXAMPLES = r'''
|
|||
# ansible -m postgresql_owner -a "db=bar new_owner=alice obj_name=myfunc obj_type=function"
|
||||
|
||||
- name: The same as above by playbook
|
||||
postgresql_owner:
|
||||
community.general.postgresql_owner:
|
||||
db: bar
|
||||
new_owner: alice
|
||||
obj_name: myfunc
|
||||
obj_type: function
|
||||
|
||||
- name: Set owner as bob for table acme in database bar
|
||||
postgresql_owner:
|
||||
community.general.postgresql_owner:
|
||||
db: bar
|
||||
new_owner: bob
|
||||
obj_name: acme
|
||||
obj_type: table
|
||||
|
||||
- name: Set owner as alice for view test_view in database bar
|
||||
postgresql_owner:
|
||||
community.general.postgresql_owner:
|
||||
db: bar
|
||||
new_owner: alice
|
||||
obj_name: test_view
|
||||
obj_type: view
|
||||
|
||||
- name: Set owner as bob for tablespace ssd in database foo
|
||||
postgresql_owner:
|
||||
community.general.postgresql_owner:
|
||||
db: foo
|
||||
new_owner: bob
|
||||
obj_name: ssd
|
||||
obj_type: tablespace
|
||||
|
||||
- name: Reassign all object in database bar owned by bob to alice
|
||||
postgresql_owner:
|
||||
community.general.postgresql_owner:
|
||||
db: bar
|
||||
new_owner: alice
|
||||
reassign_owned_by: bob
|
||||
|
||||
- name: Reassign all object in database bar owned by bob and bill to alice
|
||||
postgresql_owner:
|
||||
community.general.postgresql_owner:
|
||||
db: bar
|
||||
new_owner: alice
|
||||
reassign_owned_by:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue