Fix ini variables for netconf and network_cli connections (#43599)

This commit is contained in:
Sebastian Wiesinger 2018-08-02 17:38:51 +02:00 committed by Ganesh Nalawade
parent 12973e0541
commit a5774bd29a
2 changed files with 12 additions and 12 deletions

View file

@ -72,7 +72,7 @@ options:
- The private SSH key or certificate file used to to authenticate to the - The private SSH key or certificate file used to to authenticate to the
remote device when first establishing the SSH connection. remote device when first establishing the SSH connection.
ini: ini:
section: defaults - section: defaults
key: private_key_file key: private_key_file
env: env:
- name: ANSIBLE_PRIVATE_KEY_FILE - name: ANSIBLE_PRIVATE_KEY_FILE
@ -96,7 +96,7 @@ options:
option on production systems as it could create a security vulnerability. option on production systems as it could create a security vulnerability.
default: 'no' default: 'no'
ini: ini:
section: paramiko_connection - section: paramiko_connection
key: host_key_auto_add key: host_key_auto_add
env: env:
- name: ANSIBLE_HOST_KEY_AUTO_ADD - name: ANSIBLE_HOST_KEY_AUTO_ADD

View file

@ -68,7 +68,7 @@ options:
- The private SSH key or certificate file used to to authenticate to the - The private SSH key or certificate file used to to authenticate to the
remote device when first establishing the SSH connection. remote device when first establishing the SSH connection.
ini: ini:
section: defaults - section: defaults
key: private_key_file key: private_key_file
env: env:
- name: ANSIBLE_PRIVATE_KEY_FILE - name: ANSIBLE_PRIVATE_KEY_FILE
@ -94,7 +94,7 @@ options:
- Can be configured form the CLI via the C(--become) or C(-b) options - Can be configured form the CLI via the C(--become) or C(-b) options
default: False default: False
ini: ini:
section: privilege_escalation - section: privilege_escalation
key: become key: become
env: env:
- name: ANSIBLE_BECOME - name: ANSIBLE_BECOME
@ -107,7 +107,7 @@ options:
C(enable) but could be defined as other values. C(enable) but could be defined as other values.
default: sudo default: sudo
ini: ini:
section: privilege_escalation - section: privilege_escalation
key: become_method key: become_method
env: env:
- name: ANSIBLE_BECOME_METHOD - name: ANSIBLE_BECOME_METHOD
@ -125,7 +125,7 @@ options:
option on production systems as it could create a security vulnerability. option on production systems as it could create a security vulnerability.
default: False default: False
ini: ini:
section: paramiko_connection - section: paramiko_connection
key: host_key_auto_add key: host_key_auto_add
env: env:
- name: ANSIBLE_HOST_KEY_AUTO_ADD - name: ANSIBLE_HOST_KEY_AUTO_ADD