From c7bcdf2cf94db99c0805e7a4ea8bdd7650dbcf3c Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 11 Oct 2017 16:25:34 +0000 Subject: [PATCH] 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. --- ansible/group_vars/switches/junos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/group_vars/switches/junos b/ansible/group_vars/switches/junos index c18185494..d833c2937 100644 --- a/ansible/group_vars/switches/junos +++ b/ansible/group_vars/switches/junos @@ -11,7 +11,7 @@ switch_junos_provider: username: "{{ ansible_user }}" password: "{{ ansible_ssh_pass|default(omit) }}" ssh_keyfile: "{{ ansible_ssh_private_key_file|default(omit) }}" - timeout: "{{ switch_junos_timeout|default(omit) }}" + timeout: "{{ switch_junos_timeout }}" ############################################################################### # Configuration format.