Hi all,

When specifying an host in the playbook itself but not in the inventory 
file, I get the message 'skipping: no hosts matched.'

When I pass the host via:

ansible-playbook playbook.yml -i hostname,

All is just working fine.

But why is Ansible unable to just pick up this host defined in the playbook 
without needing an inventory file that specifies exactly the same 
information about this host?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/73dfd449-1bea-4a65-b31c-4079cea8e748%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to