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

pull/43616/head
Sebastian Wiesinger 6 years ago committed by Ganesh Nalawade
parent 12973e0541
commit a5774bd29a

@ -72,8 +72,8 @@ 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
vars: vars:
@ -96,8 +96,8 @@ 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
look_for_keys: look_for_keys:

@ -68,8 +68,8 @@ 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
vars: vars:
@ -94,8 +94,8 @@ 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
vars: vars:
@ -107,8 +107,8 @@ 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
vars: vars:
@ -125,8 +125,8 @@ 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
persistent_connect_timeout: persistent_connect_timeout:

Loading…
Cancel
Save