From c34fb01462c071e92102f8d4697f8c72b2870cc2 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 12 Dec 2021 11:46:34 +0100 Subject: [PATCH] Docs improvements. (#3893) (#3895) (cherry picked from commit 59bbaeed779d2b1eea8c8661aecd39f4f4ca987c) --- plugins/lookup/etcd3.py | 2 +- plugins/modules/database/misc/redis_data_info.py | 1 + plugins/modules/net_tools/snmp_facts.py | 2 +- plugins/modules/system/nosh.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/lookup/etcd3.py b/plugins/lookup/etcd3.py index 5b2c334c41..a34fae7bf3 100644 --- a/plugins/lookup/etcd3.py +++ b/plugins/lookup/etcd3.py @@ -93,7 +93,7 @@ DOCUMENTATION = ''' environment variable and keep I(endpoints), I(host), and I(port) unused. seealso: - module: community.general.etcd3 - - ref: etcd_lookup + - ref: ansible_collections.community.general.etcd_lookup description: The etcd v2 lookup. requirements: diff --git a/plugins/modules/database/misc/redis_data_info.py b/plugins/modules/database/misc/redis_data_info.py index 866bda62d1..5d15bacce4 100644 --- a/plugins/modules/database/misc/redis_data_info.py +++ b/plugins/modules/database/misc/redis_data_info.py @@ -26,6 +26,7 @@ extends_documentation_fragment: - community.general.redis seealso: + - module: community.general.redis_data - module: community.general.redis_info - module: community.general.redis ''' diff --git a/plugins/modules/net_tools/snmp_facts.py b/plugins/modules/net_tools/snmp_facts.py index e9d0ebc94c..37183b95f4 100644 --- a/plugins/modules/net_tools/snmp_facts.py +++ b/plugins/modules/net_tools/snmp_facts.py @@ -127,7 +127,7 @@ ansible_sysname: type: str sample: ubuntu-user ansible_syslocation: - description: The physical location of this node (e.g., `telephone closet, 3rd floor'). + description: The physical location of this node (e.g., C(telephone closet, 3rd floor)). returned: success type: str sample: Sitting on the Dock of the Bay diff --git a/plugins/modules/system/nosh.py b/plugins/modules/system/nosh.py index 4fe3020393..1f9f2806c6 100644 --- a/plugins/modules/system/nosh.py +++ b/plugins/modules/system/nosh.py @@ -45,7 +45,7 @@ options: required: false type: bool description: - - Enable or disable the service according to local preferences in *.preset files. + - Enable or disable the service according to local preferences in C(*.preset) files. Mutually exclusive with I(enabled). Only has an effect if set to true. Will take effect prior to I(state=reset). user: