ANSIBLE : NO MORE HOSTS LEFT v2.1.1.0-0.2.rc2? Or am I failing to build the right RPM?

535 views
Skip to first unread message

Gavin Jones

unread,
Jul 8, 2016, 7:13:45 PM7/8/16
to Ansible Project
Hi All,
            New to ANSIBLE and I have been getting the dreaded: NO MORE HOSTS LEFT , when I run playbooks.

I read here: https://github.com/ansible/ansible/issues/16364  That it would be resolved in v2.1.1.0-0.2.rc2.

So I created a quick RPM for v2.1.1.0-0.2.rc2


yum -y install git asciidoc rpm-build python2-devel
cd /usr/src
cd ansible
git checkout v2.1.1.0-0.2.rc2
git submodule update --init
make rpm
yum install rpm-build/ansible-2.1.1.0-0.git201607072025.eff49c9.HEAD.el7.noarch.rpm


 rpm -qa | grep -i ansible
ansible-2.1.1.0-0.git201607072025.eff49c9.HEAD.el7.noarch
[root@ans01 ansible]# rpm -qia | grep -i ansible
Name        : ansible
Source RPM  : ansible-2.1.1.0-0.git201607072025.eff49c9.HEAD.el7.src.rpm
URL         : http://www.ansible.com
Ansible is a radically simple model-driven configuration management,
multi-node deployment, and orchestration engine. Ansible works

Am I building the wrong RPM or missing a step ? Or is this still not fixed?

If so can you please explain?

Thank you or your time and patience.




Gavin Jones

unread,
Jul 8, 2016, 8:51:37 PM7/8/16
to Ansible Project
Just an FYI I am using this Role:


I have gone through the role and my playbook files.

And there is no definition of "serial" in the files so I am not sure why the error of "NO MORE HOSTS" is still appearing?


My Playbook below:

 cat /etc/ansible/playbooks/geerlingguy.jenkins/geerlingguy.jenkins.yml
---
- hosts: testservers
  vars:
    jenkins_hostname: jenkins.example.com
  roles:
    - geerlingguy.jenkins
Reply all
Reply to author
Forward
0 new messages