Remove default filter from junos switch timeout
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.
This commit is contained in:
parent
1169ce111c
commit
c7bcdf2cf9
@ -11,7 +11,7 @@ switch_junos_provider:
|
|||||||
username: "{{ ansible_user }}"
|
username: "{{ ansible_user }}"
|
||||||
password: "{{ ansible_ssh_pass|default(omit) }}"
|
password: "{{ ansible_ssh_pass|default(omit) }}"
|
||||||
ssh_keyfile: "{{ ansible_ssh_private_key_file|default(omit) }}"
|
ssh_keyfile: "{{ ansible_ssh_private_key_file|default(omit) }}"
|
||||||
timeout: "{{ switch_junos_timeout|default(omit) }}"
|
timeout: "{{ switch_junos_timeout }}"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Configuration format.
|
# Configuration format.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user