I am trying to run a playbook on a selective host after it has been provisioned using earlier set of tasks
I am able to ping the host and the same is available in the
/etc/ansible/hosts file however the play says
skipping: no hosts matched and does not run.
Ansible hosts file looks like below
I have tried mentioning the inventory file using -i with no success, what could be wrong here ?
UPDATE: Added the
/etc/ansible/hosts as default inventory however the playbook still says its not able to see the VM