From 09e2b89d5bb3f1d561498ff5301b21c4d59d6d0c Mon Sep 17 00:00:00 2001 From: Andrew Klychkov Date: Wed, 17 Jun 2020 14:14:19 +0300 Subject: [PATCH] modules: improve documentation (#528) * modules: improve documentation * Update plugins/modules/cloud/digital_ocean/digital_ocean_tag.py Co-authored-by: Felix Fontein * Update plugins/modules/database/postgresql/postgresql_privs.py Co-authored-by: Felix Fontein * Update plugins/modules/notification/slack.py Co-authored-by: Felix Fontein Co-authored-by: Felix Fontein --- plugins/modules/cloud/digital_ocean/digital_ocean_tag.py | 2 +- plugins/modules/database/postgresql/postgresql_privs.py | 6 +++--- plugins/modules/notification/slack.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/modules/cloud/digital_ocean/digital_ocean_tag.py b/plugins/modules/cloud/digital_ocean/digital_ocean_tag.py index d093a7dea2..2d2e59ce02 100644 --- a/plugins/modules/cloud/digital_ocean/digital_ocean_tag.py +++ b/plugins/modules/cloud/digital_ocean/digital_ocean_tag.py @@ -24,7 +24,7 @@ options: resource_id: description: - The ID of the resource to operate on. - - The data type of resource_id is changed from integer to string, from version 2.5. + - The data type of resource_id is changed from integer to string since Ansible 2.5. aliases: ['droplet_id'] resource_type: description: diff --git a/plugins/modules/database/postgresql/postgresql_privs.py b/plugins/modules/database/postgresql/postgresql_privs.py index e7928731e4..d1d39aa763 100644 --- a/plugins/modules/database/postgresql/postgresql_privs.py +++ b/plugins/modules/database/postgresql/postgresql_privs.py @@ -42,8 +42,8 @@ options: description: - Type of database object to set privileges on. - The C(default_privs) choice is available starting at version 2.7. - - The C(foreign_data_wrapper) and C(foreign_server) object types are available from Ansible version '2.8'. - - The C(type) choice is available from Ansible version '2.10'. + - The C(foreign_data_wrapper) and C(foreign_server) object types are available since Ansible version '2.8'. + - The C(type) choice is available since Ansible version '2.10'. type: str default: table choices: [ database, default_privs, foreign_data_wrapper, foreign_server, function, @@ -55,7 +55,7 @@ options: the special valueC(ALL_IN_SCHEMA) can be provided instead to specify all database objects of type I(type) in the schema specified via I(schema). (This also works with PostgreSQL < 9.0.) (C(ALL_IN_SCHEMA) is available - for C(function) and C(partition table) from version 2.8) + for C(function) and C(partition table) since Ansible 2.8) - If I(type) is C(database), this parameter can be omitted, in which case privileges are set for the database specified via I(database). - 'If I(type) is I(function), colons (":") in object names will be diff --git a/plugins/modules/notification/slack.py b/plugins/modules/notification/slack.py index bfd257dba3..3ac492179d 100644 --- a/plugins/modules/notification/slack.py +++ b/plugins/modules/notification/slack.py @@ -95,7 +95,7 @@ options: description: - Allow text to use default colors - use the default of 'normal' to not send a custom color bar at the start of the message. - Allowed values for color can be one of 'normal', 'good', 'warning', 'danger', any valid 3 digit or 6 digit hex color value. - - Specifying value in hex is supported from version 2.8. + - Specifying value in hex is supported since Ansible 2.8. default: 'normal' attachments: description: