Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For Network Report Playbook - Task - Create HTML Report - fails with error dict object' has no attribute 'static_routes' #47

Closed
moffzilla opened this issue Feb 22, 2024 · 1 comment

Comments

@moffzilla
Copy link

From the "Ansible Automation Platform 2 Networking Automation Workshop"
"Network-Report" Jobs (which calls playbooks/network_report_legacy.yml) fail to generate a report
Play Recap shows an error for the task:

TASK [../roles/build_report_container : Create HTML report] ********************

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute 'static_routes'. 'dict object' has no attribute 'static_routes'
fatal: [ansible-1]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'static_routes'. 'dict object' has no attribute 'static_routes'"}

Attach the Debug output for the execution
job_3.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants