summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGomathiselviS <gomathiselvi@gmail.com>2020-10-06 20:02:32 -0400
committerGitHub <noreply@github.com>2020-10-07 00:02:32 +0000
commit053302db7217feadec96f30e65f15951082d98d5 (patch)
tree15e2f79db266dc9569570439a595cdf9dc5c71bd
parent419295a74f2c2162c75046e15bba51e1db220960 (diff)
downloadvyos-ansible-collection-053302db7217feadec96f30e65f15951082d98d5.tar.gz
vyos-ansible-collection-053302db7217feadec96f30e65f15951082d98d5.zip
Update network integration auth timeout for local connection (#90)
Update network integration auth timeout for local connection Reviewed-by: https://github.com/apps/ansible-zuul
-rw-r--r--changelogs/fragments/local_auth_timeout.yaml3
-rw-r--r--plugins/action/vyos.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/fragments/local_auth_timeout.yaml b/changelogs/fragments/local_auth_timeout.yaml
new file mode 100644
index 0000000..85c82d9
--- /dev/null
+++ b/changelogs/fragments/local_auth_timeout.yaml
@@ -0,0 +1,3 @@
+---
+bugfixes:
+ - Update network integration auth timeout for connection local.
diff --git a/plugins/action/vyos.py b/plugins/action/vyos.py
index 9519d36..61f377b 100644
--- a/plugins/action/vyos.py
+++ b/plugins/action/vyos.py
@@ -99,6 +99,7 @@ class ActionModule(ActionNetworkModule):
direct={"persistent_command_timeout": command_timeout}
)
+ pc.timeout = command_timeout
socket_path = connection.run()
display.vvvv("socket_path: %s" % socket_path, pc.remote_addr)
if not socket_path: