Hi Christophe,
Can you use RPC module with kwargs options (dev_timeout: x) where x is number of seconds to wait.
You can find equivalent rpc using
<command> | display xml rpc
Thanks
Nitin Kr
From: <junos-p...@googlegroups.com> on behalf of Christophe <lemaire.c...@gmail.com>
Date: Sunday, 25 October 2020 at 11:11 PM
To: Junos Python EZ <junos-p...@googlegroups.com>
Subject: SSH timeout on 'request system snapshot slice alternate all-members'
[External Email. Be cautious of content]
--
You received this message because you are subscribed to the Google Groups "Junos Python EZ" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
junos-python-...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/junos-python-ez/1ed6bac1-1255-4206-b3a0-28b007ee26d1n%40googlegroups.com.
Juniper Business Use Only
Juniper Business Use Only
- name: 'Explicit host argument'
hosts: junos
connection: local
gather_facts: no
roles:
- Juniper.junos
tasks:
- name: "Execute RPC"
juniper_junos_rpc:
rpcs:
- "request-snapshot"
timeout: "1200"
register: test1
- name: Check TEST 1
debug:
var: test1
Juniper Business Use Only