Fixed some documentation for postgresql_slot (#65278) (#65358)

pull/65472/head
Andrey Klychkov 5 years ago committed by Alicia Cozine
parent 04d32c503f
commit 58b6ad7444

@ -14,15 +14,15 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
DOCUMENTATION = ''' DOCUMENTATION = '''
--- ---
module: postgresql_slot module: postgresql_slot
short_description: Add or remove slots from a PostgreSQL database short_description: Add or remove replication slots from a PostgreSQL database
description: description:
- Add or remove physical or logical slots from a PostgreSQL database. - Add or remove physical or logical replication slots from a PostgreSQL database.
version_added: '2.8' version_added: '2.8'
options: options:
name: name:
description: description:
- Name of the slot to add or remove. - Name of the replication slot to add or remove.
type: str type: str
required: yes required: yes
aliases: aliases:
@ -43,7 +43,7 @@ options:
choices: [ absent, present ] choices: [ absent, present ]
immediately_reserve: immediately_reserve:
description: description:
- Optional parameter the when C(yes) specifies that the LSN for this replication slot be reserved - Optional parameter that when C(yes) specifies that the LSN for this replication slot be reserved
immediately, otherwise the default, C(no), specifies that the LSN is reserved on the first connection immediately, otherwise the default, C(no), specifies that the LSN is reserved on the first connection
from a streaming replication client. from a streaming replication client.
- Is available from PostgreSQL version 9.6. - Is available from PostgreSQL version 9.6.
@ -113,6 +113,7 @@ EXAMPLES = r'''
slot_type: logical slot_type: logical
state: present state: present
output_plugin: custom_decoder_one output_plugin: custom_decoder_one
db: "acme"
- name: Remove logical_one slot if exists from the cluster running on another host and non-standard port - name: Remove logical_one slot if exists from the cluster running on another host and non-standard port
postgresql_slot: postgresql_slot:

Loading…
Cancel
Save