ansible-network Gather Package Facts fails with "vlan-id VARIABLE IS NOT DEFINED!"

Solution In Progress - Updated -

Issue

ansible-network task Gather Package Facts fails with:

"item.value.vlan['vlan-id']": "VARIABLE IS NOT DEFINED!: 'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'vlan-id'"

Environment

  • Red Hat Ansible Engine 2.9
  • VLAN tags
  • VLAN descriptive name in network switch VLAN database

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In