You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took your code on creating a report and am trying to run it on my system, I have Cisco 9500's and all i really did was change the hosts to my 9500 and the other to one of my linux VMs that runs Rocky 8.8 I made sure it was setup with SELinux as well as podman, I run my PB from AAP and it throws an error at the TASK [../roles/build_report_container : "Create HTML report" and I have looked threw the code and cannot find any problems I would say I an and pretty good at Ansible and AAP but networking with this is new to me, anyhow I attached my output maybe you could point me in the right direction job_10438.txt
I really appreciate your help with this
The text was updated successfully, but these errors were encountered:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute 'network'
fatal: [docker-ansible]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'network'"}```
In my jinja2 code... I never really thought about this... I have this loop->
{% for network_switch in groups['network']|sort %}
I should probably make it more ubiquitous and use the groups['all']... but for now, can you try just creating a group called network and put a couple network devices in there? I think that is what your issue is
I took your code on creating a report and am trying to run it on my system, I have Cisco 9500's and all i really did was change the hosts to my 9500 and the other to one of my linux VMs that runs Rocky 8.8 I made sure it was setup with SELinux as well as podman, I run my PB from AAP and it throws an error at the TASK [../roles/build_report_container : "Create HTML report" and I have looked threw the code and cannot find any problems I would say I an and pretty good at Ansible and AAP but networking with this is new to me, anyhow I attached my output maybe you could point me in the right direction
job_10438.txt
I really appreciate your help with this
The text was updated successfully, but these errors were encountered: