-
Couldn't load subscription status.
- Fork 167
Closed
Description
I get this when using the actions of ( snap_pre, snap_post, check ) in junos_jsnapy in Ansible. Works fine when using just the standalone jsnapy so I’m thinking it’s ansible related:
[WARNING]: Failure using method (v2_playbook_on_stats) in callback plugin
(</etc/ansible/roles/Juniper.junos/callback_plugins/jsnapy.CallbackModule object at 0xb68ea42c>): 'final_result'
-
name: BGP Audit
roles:
- Juniper.junos
hosts: demo
connection: local
gather_facts: notasks:
- name: Do pre maintenance BGP snapshot
junos_jsnapy:
host: "{{ inventory_hostname }}"
user: root
passwd: juniper1
test_files: jsnapy/bgp_diff.yml
action: snap_pre
register: pre_snapshot
tests_include:
- check_bgp_status
check_bgp_status:
- command: show bgp neighbor
- iterate:
xpath: //bgp-peer
tests:
- no-diff: peer-state
Metadata
Metadata
Assignees
Labels
No labels