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
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
I did yum update on the server that was not working, it is release 5.3, and now it is working, i will keep an eye on it as we do have other nodes with 5.3 not updated. and will pinpoint it down now that i know it is package version issue
I am facing the same issue as “no hosts matched” and the ansible-pull is taking only localhost. It is not able to see any of my hosts. I also
Here is how i am using the command
ansible-pull -U git@github.com:XPlat/caps-sps.git -d /home/gvenka008c/caps-sps jenkins_mesos_icinga.yml -i caps-sps/jenkins_mesos/ansible/inventory
PLAY ***************************************************************************
skipping: no hosts matched
I am running on Cent OS
$ uname -a
Linux jansible-cmce-01p.sys.comcast.net 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 17:03:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux