Open HarshvardhanVummidi opened 3 years ago
and my inventory file
Please try below commands Ansible -i inventory -m ping -k all (or) Ansible -i inventory -m ping all
Your mistake is use -k
Hi @HarshvardhanVummidi,
Your issue got resolved ? If not, please try the below commands. ansible all -i inventory -m ping (OR) ansible all -inventory -m ping -K (K should be in caps[become password]) (Ping module should be working fine)