mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
> Change examples syntax on postgresql_db module
This commit is contained in:
parent
e0cfe14901
commit
8edd2673b2
1 changed files with 8 additions and 6 deletions
|
@ -95,16 +95,18 @@ author: "Ansible Core Team"
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Create a new database with name "acme"
|
# Create a new database with name "acme"
|
||||||
- postgresql_db: name=acme
|
- postgresql_db:
|
||||||
|
name: acme
|
||||||
|
|
||||||
# Create a new database with name "acme" and specific encoding and locale
|
# Create a new database with name "acme" and specific encoding and locale
|
||||||
# settings. If a template different from "template0" is specified, encoding
|
# settings. If a template different from "template0" is specified, encoding
|
||||||
# and locale settings must match those of the template.
|
# and locale settings must match those of the template.
|
||||||
- postgresql_db: name=acme
|
- postgresql_db:
|
||||||
encoding='UTF-8'
|
name: acme
|
||||||
lc_collate='de_DE.UTF-8'
|
encoding: UTF-8
|
||||||
lc_ctype='de_DE.UTF-8'
|
lc_collate: de_DE.UTF-8
|
||||||
template='template0'
|
lc_ctype: de_DE.UTF-8
|
||||||
|
template: template0
|
||||||
'''
|
'''
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue