It looks like the info you're passing to the -i option ends with a directory name instead of ending with a filename.
-Greg On Thu, Dec 4, 2014 at 2:28 AM, Baptiste Lafontaine <[email protected]> wrote: > Hi, > > Ansible-pull man pages states : > > -i PATH, --inventory=PATH > The PATH to the inventory hosts file. This can be a relative > path within the checkout. > > So I have been trying : ansible-pull -U git@mygit:ansible.git -i > "inventory/" provision.yml > It gives instantly : ERROR: Unable to find an inventory file, specify one > with -i ? > The "inventory" is a folder in my ansible.git repository wich contain ec2 > inventory script and a static inventory. I have been using it without any > problem in ansible "push" mode. > > Is that a non supported behaviour or a bug in ansible-pull? > > > Thanks > > -- > 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/5a0de994-b63f-4bfb-a8d5-44ae54ae4f15%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/5a0de994-b63f-4bfb-a8d5-44ae54ae4f15%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPdwyX50jBc_A8GgffbvA0_vkVChkZQj-qbyG_V78Hbb4rmTUg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
