Below is my playbook to gather ios_facts info in GNS3 router. The output shows “VARIABLE IS NOT DEFINED!”
But when i gather ios_facts using ad-hoc command, it works. Why the difference?
Below is my playbook to gather ios_facts info in GNS3 router. The output shows “VARIABLE IS NOT DEFINED!”
But when i gather ios_facts using ad-hoc command, it works. Why the difference?
The facts are gathered and prefixed with 'ansible_net_' (like
ansible_net_all_ipv4_addresses).
You should not use register.