uses .txt for shared content (#40416)

This commit is contained in:
Alicia Cozine 2018-05-22 06:01:00 -05:00 committed by John R Barker
parent a71d68105c
commit 69eef14e3b
5 changed files with 4 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -112,4 +112,4 @@ Example NETCONF Task
when: ansible_network_os == 'junos'
.. include:: shared_snippets/SSH_warning.rst
.. include:: shared_snippets/SSH_warning.txt

View file

@ -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

View file

@ -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 <playbooks_vault>`.