c7bcdf2cf9
In ansible 2.3, the default filter appears to make the timeout be interpreted as a string rather than a number, which causes the netconf client ncclient to barf. As we always define a timeout, this default seems unnecessary anyway so let's remove it.
29 lines
987 B
Plaintext
29 lines
987 B
Plaintext
---
|
|
# Switch configuration.
|
|
|
|
###############################################################################
|
|
# Authentication configuration.
|
|
|
|
# For Juniper switches, this defines a 'provider' argument to the junos_*
|
|
# modules.
|
|
switch_junos_provider:
|
|
host: "{{ ansible_host|default(inventory_hostname) }}"
|
|
username: "{{ ansible_user }}"
|
|
password: "{{ ansible_ssh_pass|default(omit) }}"
|
|
ssh_keyfile: "{{ ansible_ssh_private_key_file|default(omit) }}"
|
|
timeout: "{{ switch_junos_timeout }}"
|
|
|
|
###############################################################################
|
|
# Configuration format.
|
|
|
|
# Format of configuration in junos_switch_config and
|
|
# junos_switch_interface_config. May be one of 'set', 'text' or 'json'.
|
|
switch_junos_config_format: text
|
|
|
|
###############################################################################
|
|
# Timeout.
|
|
|
|
# Timeout in seconds for communicating with the network device either for
|
|
# connecting or sending commands.
|
|
switch_junos_timeout: 10
|