From 933298505ac1aba21a7088f62451d7d513bec8b1 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Fri, 1 Sep 2017 17:52:18 -0400 Subject: [PATCH] Update places we mention env vars to use :envvar: (#28887) --- .../developing_modules_general_windows.rst | 2 +- docs/docsite/rst/faq.rst | 4 ++-- docs/docsite/rst/galaxy.rst | 2 +- docs/docsite/rst/intro_configuration.rst | 4 ++-- docs/docsite/rst/intro_dynamic_inventory.rst | 2 +- docs/docsite/rst/intro_getting_started.rst | 2 +- docs/docsite/rst/intro_networking.rst | 14 +++++++++----- docs/docsite/rst/network_debug_troubleshooting.rst | 10 +++++----- docs/docsite/rst/playbooks_acceleration.rst | 2 +- docs/docsite/rst/porting_guide_2.0.rst | 2 +- 10 files changed, 24 insertions(+), 20 deletions(-) diff --git a/docs/docsite/rst/dev_guide/developing_modules_general_windows.rst b/docs/docsite/rst/dev_guide/developing_modules_general_windows.rst index 209d4d3608e..78dd90f9ccd 100644 --- a/docs/docsite/rst/dev_guide/developing_modules_general_windows.rst +++ b/docs/docsite/rst/dev_guide/developing_modules_general_windows.rst @@ -167,7 +167,7 @@ the most popular are To be able to view the arguments as passed by Ansible to the module follow these steps. -- Prefix the Ansible command with ``ANSIBLE_KEEP_REMOTE_FILES=1`` to get Ansible to keep the exec files on the server +- Prefix the Ansible command with :envvar:`ANSIBLE_KEEP_REMOTE_FILES=1` to get Ansible to keep the exec files on the server - Log onto the Windows server using the same user Ansible executed the module as - Navigate to ``%TEMP%\..``, there should be a folder starting with ``ansible-tmp-`` - Inside this folder open up the powershell script for the module diff --git a/docs/docsite/rst/faq.rst b/docs/docsite/rst/faq.rst index c397a21a8c8..59e0b87bb8f 100644 --- a/docs/docsite/rst/faq.rst +++ b/docs/docsite/rst/faq.rst @@ -149,7 +149,7 @@ How do I disable cowsay? ++++++++++++++++++++++++ If cowsay is installed, Ansible takes it upon itself to make your day happier when running playbooks. If you decide -that you would like to work in a professional cow-free environment, you can either uninstall cowsay, or set an environment variable: +that you would like to work in a professional cow-free environment, you can either uninstall cowsay, or set the :envvar:`ANSIBLE_NOCOWS` environment variable: .. code-block:: shell-session @@ -350,7 +350,7 @@ The no_log attribute can also apply to an entire play:: Though this will make the play somewhat difficult to debug. It's recommended that this be applied to single tasks only, once a playbook is completed. Note that the use of the no_log attribute does not prevent data from being shown when debugging Ansible itself via -the ANSIBLE_DEBUG environment variable. +the :envvar:`ANSIBLE_DEBUG` environment variable. .. _when_to_use_brackets: diff --git a/docs/docsite/rst/galaxy.rst b/docs/docsite/rst/galaxy.rst index 07b041626f1..a6f12e6b69b 100644 --- a/docs/docsite/rst/galaxy.rst +++ b/docs/docsite/rst/galaxy.rst @@ -41,7 +41,7 @@ Use the ``ansible-galaxy`` command to download roles from the `Galaxy website