> Change examples syntax on postgresql_db module

This commit is contained in:
Sam Doran 2016-10-12 15:21:05 -04:00 committed by Matt Clay
parent e0cfe14901
commit 8edd2673b2

View file

@ -95,16 +95,18 @@ author: "Ansible Core Team"
EXAMPLES = '''
# 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
# settings. If a template different from "template0" is specified, encoding
# and locale settings must match those of the template.
- postgresql_db: name=acme
encoding='UTF-8'
lc_collate='de_DE.UTF-8'
lc_ctype='de_DE.UTF-8'
template='template0'
- postgresql_db:
name: acme
encoding: UTF-8
lc_collate: de_DE.UTF-8
lc_ctype: de_DE.UTF-8
template: template0
'''
try: