From febd1ca44add483486566a49516d4ce43d74626d Mon Sep 17 00:00:00 2001 From: John R Barker Date: Thu, 5 Apr 2018 11:47:34 +0100 Subject: [PATCH] ansible_password & ansible_ssh_pass are the ENV variable (#38035) (#38324) * ansible_password & ansible_ssh_pass are the ENV variable (cherry picked from commit a4e932ee9fa76b8a65736cfac22b9906da7e7634) --- lib/ansible/plugins/connection/netconf.py | 3 ++- lib/ansible/plugins/connection/network_cli.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ansible/plugins/connection/netconf.py b/lib/ansible/plugins/connection/netconf.py index 46b120c4346..2f29a2197d9 100644 --- a/lib/ansible/plugins/connection/netconf.py +++ b/lib/ansible/plugins/connection/netconf.py @@ -67,7 +67,8 @@ options: - Configures the user password used to authenticate to the remote device when first establishing the SSH connection. vars: - - name: ansible_pass + - name: ansible_password + - name: ansible_ssh_pass private_key_file: description: - The private SSH key or certificate file used to to authenticate to the diff --git a/lib/ansible/plugins/connection/network_cli.py b/lib/ansible/plugins/connection/network_cli.py index fedbadafa5d..34061608aa4 100644 --- a/lib/ansible/plugins/connection/network_cli.py +++ b/lib/ansible/plugins/connection/network_cli.py @@ -62,7 +62,8 @@ options: - Configures the user password used to authenticate to the remote device when first establishing the SSH connection. vars: - - name: ansible_pass + - name: ansible_password + - name: ansible_ssh_pass private_key_file: description: - The private SSH key or certificate file used to to authenticate to the