Hi experts,
I am running below playbook :-
You are mixing up several things.
Start with the example from
https://docs.ansible.com/ansible/latest/network/user_guide/platform_ios.html#example-cli-group-vars-ios-yml
Hi,
cat ios.yml
Your playbook is also faulty.
Check the examples on
https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html
Probably do some more reading there