diff --git a/docs/docsite/rst/network/user_guide/platform_eos.rst b/docs/docsite/rst/network/user_guide/platform_eos.rst index 961e95c2840..8cff7a16b51 100644 --- a/docs/docsite/rst/network/user_guide/platform_eos.rst +++ b/docs/docsite/rst/network/user_guide/platform_eos.rst @@ -166,4 +166,4 @@ In this example two variables defined in ``group_vars`` get passed to the module - the ``eapi`` variable gets passed to the ``provider`` option of 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 f5f43604290..1fb7784273c 100644 --- a/docs/docsite/rst/network/user_guide/platform_nxos.rst +++ b/docs/docsite/rst/network/user_guide/platform_nxos.rst @@ -117,4 +117,4 @@ Example NX-API Task In this example the ``proxy_env`` variable defined in ``group_vars`` gets passed to the ``environment`` option of the module used in the task. -.. 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 `.