From 3e54803fa457a21ec84f857f4123dc9a566c3592 Mon Sep 17 00:00:00 2001 From: John R Barker Date: Fri, 20 Apr 2018 17:40:56 +0100 Subject: [PATCH] Modules to link relatively to docs (#39081) (#39086) * Modules to link relatively to docs * consistency (cherry picked from commit 9e028ab704f27a01e996d3a0d564b775427389d1) --- lib/ansible/modules/utilities/logic/import_role.py | 2 +- lib/ansible/modules/utilities/logic/set_fact.py | 2 +- lib/ansible/utils/module_docs_fragments/cloudstack.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/utilities/logic/import_role.py b/lib/ansible/modules/utilities/logic/import_role.py index 99df1f5882e..377a0120f02 100644 --- a/lib/ansible/modules/utilities/logic/import_role.py +++ b/lib/ansible/modules/utilities/logic/import_role.py @@ -24,7 +24,7 @@ description: between other tasks of the play. - Most keywords, loops and conditionals will only be applied to the imported tasks, not to this statement itself. If you want the opposite behavior, use M(include_role) instead. To better understand the difference you can read - U(https://docs.ansible.com/ansible/latest/playbooks_reuse_includes.html). + the L(Including and Importing Guide,../user_guide/playbooks_reuse_includes.html). version_added: "2.4" options: name: diff --git a/lib/ansible/modules/utilities/logic/set_fact.py b/lib/ansible/modules/utilities/logic/set_fact.py index 2c9f9323fcd..74eb93032eb 100644 --- a/lib/ansible/modules/utilities/logic/set_fact.py +++ b/lib/ansible/modules/utilities/logic/set_fact.py @@ -23,7 +23,7 @@ description: - These variables will be available to subsequent plays during an ansible-playbook run, but will not be saved across executions even if you use a fact cache. - Per the standard Ansible variable precedence rules, many other types of variables have a higher priority, so this value may be overridden. - See U(http://docs.ansible.com/ansible/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable) for more information. + See L(Variable Precedence Guide,../user_guide/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable) for more information. - This module is also supported for Windows targets. options: key_value: diff --git a/lib/ansible/utils/module_docs_fragments/cloudstack.py b/lib/ansible/utils/module_docs_fragments/cloudstack.py index dbcd67a4841..63c6f3ce7ac 100644 --- a/lib/ansible/utils/module_docs_fragments/cloudstack.py +++ b/lib/ansible/utils/module_docs_fragments/cloudstack.py @@ -56,6 +56,6 @@ notes: Optionally multiple credentials and endpoints can be specified using ini sections in C(cloudstack.ini). Use the argument C(api_region) to select the section name, default section is C(cloudstack). See https://github.com/exoscale/cs for more information. - - A detailed guide about cloudstack modules can be found on http://docs.ansible.com/ansible/guide_cloudstack.html. + - A detailed guide about cloudstack modules can be found in the L(CloudStack Cloud Guide,../scenario_guides/guide_cloudstack.html). - This module supports check mode. '''