I'm falling at the first fence tying to get ansible working. I've described 
my issue in detail in this post on ServerFault 
<http://serverfault.com/questions/800565/ansible-error-missing-target-hosts/800591#800591>,
 
but I wondered if anyone here could see what's wrong.

Short version: when I ask ansible to show me the list of selected targets 
with --list-hosts, it shows what I expect (i.e. my inventory file is OK), 
but if I try to run a play against that same inventory, it fails saying 
it's missing target hosts.

If I give it a simple immediate command like 'ping', it attempts to run it 
correctly on the target, though it fails because the command I'm trying to 
run in my play is to install python2.7 on Ubuntu 16.04... However, that 
still implies that the inventory and targets are correct. The only 
difference therefore is the play itself, and I can't see what's up with 
that since its hosts property matches, adn it still fails even if I specify 
`all`.

Where am I going wrong?

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b6eae11e-f72b-4525-acc7-dd56f911875c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to