Probably a hostname that might not line up with inventory. Look around in /usr/bin/ansible-pull and there isn't too much there, should be straightforward to debug.
Let us know if you get stuck! On Wed, Jan 29, 2014 at 8:24 AM, Walid <[email protected]> wrote: > Hi Michael, > > I used both 1.5.0 cloned from github earlier today and created rpm in > rhel5.3 using make rpm. i also tested 1.4.3, after working with benno in > IRC i managed to get it working on different node RHEL5.4, will investigate > the difference and try to pin the root casue > > > > > > On 29 January 2014 15:38, Michael DeHaan <[email protected]> wrote: > >> Can you please share your Ansible version, as well as the full output >> from ansible-pull ? >> >> >> >> >> >> On Wed, Jan 29, 2014 at 4:52 AM, Walid <[email protected]> wrote: >> >>> Hi, >>> >>> I am trying to use ansible-pull, however when i run it it always skips >>> the hosts with the message " skippig: no hosts matched" unless i use >>> >>> hosts: 127.0.0.1 >>> >>> in the local.yml file, any other host name even though it is defined in >>> both the /etc/hosts and /etc/ansible/hosts will not work, but skips, i also >>> tried to pass the inventory using -i hosts/pull.ini again it did not work, >>> What am i doing wrong, or how can investigate the reason of skipping >>> further, i am using ansible 1.5 >>> >>> my pull command is >>> >>> ansible-pull -d /tmp/mygitrepo -U MyGITURL >>> >>> >>> my simple play starts with: >>> >>> --- >>> - hosts : node01 >>> connection: local >>> >>> >>> kind regards >>> >>> Walid >>> >>> >>> -- >>> 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]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> >> >> -- >> Michael DeHaan <[email protected]> >> CTO, AnsibleWorks, Inc. >> http://www.ansibleworks.com/ >> >> -- >> 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]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Michael DeHaan <[email protected]> CTO, AnsibleWorks, Inc. http://www.ansibleworks.com/ -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
