Hello,

I am trying to set ansible-pull to provision ec2 instances ... with not 
much success so far ...

I tried using the ec2.py dynamic inventory:

ansible-pull -C feature/ci -d /home/ec2-user/ansible -i ansible/ec2.py 
tag_Name_qatest23  -U ssh://git@repo/infra/ansible-play.git local.yml

and I get the following error:
ansible-pull "ERROR: provided hosts list is empty"

When trying a static inventory file with :

[coyote]
127.0.0.1   ansible_connection=local

[eu-west-1:children]
coyote

ansible-pull -C feature/ci -d /home/ec2-user/ansible -i 
/home/ec2-user/ansible/inventories/QA.yml -U 
ssh://g...@stash.aws.onlotaris.com/infra/ansible-play.git local.yml

the playbook runs, but group_vars does not seem to be evaluated..

Is this a normal behavior?

Thanks.

Fred

-- 
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/234cae5a-45de-41b1-92fa-d0bfbcf2ff7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to