From 7c49648a39f606d3bf1df44c52cb1f99b1398430 Mon Sep 17 00:00:00 2001 From: Alicia Cozine Date: Tue, 22 May 2018 10:21:08 -0500 Subject: [PATCH] uses .txt for shared content (#40416) (#40538) (cherry picked from commit 69eef14e3ba43deb93677a5f601e6b0451f6b6c1) --- docs/docsite/rst/network/user_guide/platform_eos.rst | 2 +- docs/docsite/rst/network/user_guide/platform_ios.rst | 2 +- docs/docsite/rst/network/user_guide/platform_junos.rst | 2 +- docs/docsite/rst/network/user_guide/platform_nxos.rst | 2 +- .../shared_snippets/{SSH_warning.rst => SSH_warning.txt} | 2 -- 5 files changed, 4 insertions(+), 6 deletions(-) rename docs/docsite/rst/network/user_guide/shared_snippets/{SSH_warning.rst => SSH_warning.txt} (96%) diff --git a/docs/docsite/rst/network/user_guide/platform_eos.rst b/docs/docsite/rst/network/user_guide/platform_eos.rst index dbff640de59..55ae12622fa 100644 --- a/docs/docsite/rst/network/user_guide/platform_eos.rst +++ b/docs/docsite/rst/network/user_guide/platform_eos.rst @@ -130,4 +130,4 @@ In this example two variables defined in ``group_vars`` get passed to the module - the ``proxy_env`` variable gets passed to the ``environment`` option of the module -.. include:: shared_snippets/SSH_warning.rst +.. include:: shared_snippets/SSH_warning.txt diff --git a/docs/docsite/rst/network/user_guide/platform_ios.rst b/docs/docsite/rst/network/user_guide/platform_ios.rst index 9322c6161ac..01fd7cf5e73 100644 --- a/docs/docsite/rst/network/user_guide/platform_ios.rst +++ b/docs/docsite/rst/network/user_guide/platform_ios.rst @@ -67,4 +67,4 @@ Example CLI Task register: backup_ios_location when: ansible_network_os == 'ios' -.. include:: shared_snippets/SSH_warning.rst +.. include:: shared_snippets/SSH_warning.txt diff --git a/docs/docsite/rst/network/user_guide/platform_junos.rst b/docs/docsite/rst/network/user_guide/platform_junos.rst index e0f997a0d87..b05edddee50 100644 --- a/docs/docsite/rst/network/user_guide/platform_junos.rst +++ b/docs/docsite/rst/network/user_guide/platform_junos.rst @@ -112,4 +112,4 @@ Example NETCONF Task when: ansible_network_os == 'junos' -.. include:: shared_snippets/SSH_warning.rst +.. include:: shared_snippets/SSH_warning.txt diff --git a/docs/docsite/rst/network/user_guide/platform_nxos.rst b/docs/docsite/rst/network/user_guide/platform_nxos.rst index 69fb73a35f9..5f85f570a7d 100644 --- a/docs/docsite/rst/network/user_guide/platform_nxos.rst +++ b/docs/docsite/rst/network/user_guide/platform_nxos.rst @@ -126,4 +126,4 @@ In this example two variables defined in ``group_vars`` get passed to the module - the ``proxy_env`` variable gets passed to the ``environment`` option of the module -.. include:: shared_snippets/SSH_warning.rst +.. include:: shared_snippets/SSH_warning.txt diff --git a/docs/docsite/rst/network/user_guide/shared_snippets/SSH_warning.rst b/docs/docsite/rst/network/user_guide/shared_snippets/SSH_warning.txt similarity index 96% rename from docs/docsite/rst/network/user_guide/shared_snippets/SSH_warning.rst rename to docs/docsite/rst/network/user_guide/shared_snippets/SSH_warning.txt index e7d4bdef568..27424f57776 100644 --- a/docs/docsite/rst/network/user_guide/shared_snippets/SSH_warning.rst +++ b/docs/docsite/rst/network/user_guide/shared_snippets/SSH_warning.txt @@ -1,4 +1,2 @@ -:orphan: - .. warning:: Never store passwords in plain text. We recommend using SSH keys to authenticate SSH connections. Ansible supports ssh-agent to manage your SSH keys. If you must use passwords to authenticate SSH connections, we recommend encrypting them with :ref:`Ansible Vault `.