ec2_group_module: No hosts matched

16 views
Skip to first unread message

JJ

unread,
Jan 5, 2015, 3:45:31 PM1/5/15
to ansible...@googlegroups.com
Hi,

I'm trying to run the sample as given here. I copied and pasted the yml file. Though when I run I receive "No hosts matched".

Any ideas?

Thanks,
Josh

Brian Coca

unread,
Jan 7, 2015, 8:09:13 AM1/7/15
to ansible...@googlegroups.com
that example is not a complete playbook, just a task, try adding this on top:

- hosts: localhost
gather_facts: false
connection: local
tasks:

< put example here indented so it is under tasks:

--
Brian Coca
Reply all
Reply to author
Forward
0 new messages