Skip to content

[WARNING]: Failure using method (v2_playbook_on_stats) in callback plugin #209

@blc325

Description

@blc325

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: no

    tasks:

    • 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions