Thanks. This could probably be the issue.

# yum -y --enablerepo=epel --showduplicates list ansible
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror2.hs-esslingen.de
 * epel: epel.mirrors.ovh.net
 * extras: it.centos.contactlab.it
 * updates: mirror.netcologne.de
Available Packages
ansible.noarch                                                                  
                   2.2.0.0-3.el7                                                
                                      epel


I always installed 2.2 at the moment. Is there a way to install 2.1.0.0-1.el7 
using yum?


I found this website: 
https://www.rpmfind.net/linux/rpm2html/search.php?query=ansible but I'm not 
really familiar with rpm

RPM resource ansible - Rpmfind 
mirror<https://www.rpmfind.net/linux/rpm2html/search.php?query=ansible>
www.rpmfind.net
RPM resource ansible. Ansible is a radically simple model-driven configuration 
management, multi-node deployment, and remote task execution system.



________________________________
Van: Andrew Butcher <[email protected]>
Verzonden: donderdag 17 november 2016 15:49:50
Aan: Den Cowboy
CC: [email protected]
Onderwerp: Re: Ansible installation OpenShift origin 1.2.0 failed

Hey,

What version of ansible are you using? There is an untemplated with_items for 
g_all_hosts | default([]) which isn't being interpreted. Untemplated with_items 
would have been okay with previous ansible versions but not with the latest 2.2 
packages.

Like this line but without the jinja template wrapping "{{ }}".

https://github.com/openshift/openshift-ansible/blob/cd922e0f4a1370118c0e2fd60230a68d74b47095/playbooks/byo/openshift-cluster/config.yml#L16

On Thu, Nov 17, 2016 at 10:30 AM, Den Cowboy 
<[email protected]<mailto:[email protected]>> wrote:

Hi,


I forked the repo of openshift when it was version 1.2.0.

Now I did all the prerequisitions and I was able to ssh from my master to 
itself and to every node (using the names I specified in /etc/hosts).

I created my hosts file and I start the installation but it ends pretty quick 
with this error. I don't understand why. I have some experience with 
installating version 1.2.0 with ansible.


TASK [Evaluate oo_nodes_to_config] *********************************************
changed: [localhost] => (item=master.xxx.com<http://master.xxx.com>)
changed: [localhost] => (item=node01.xxx.com<http://node01.xxx.com>)
changed: [localhost] => (item=node02.xxx.com<http://node02.xxx.com>)
changed: [localhost] => (item=node03.xxx.com<http://node03.xxx.com>)
changed: [localhost] => (item=node04.xxx.com<http://node04.xxx.com>)

TASK [Evaluate oo_nodes_to_config] *********************************************
skipping: [localhost] => (item=master.xxx.com<http://master.xxx.com>)

TASK [Evaluate oo_first_etcd] **************************************************
changed: [localhost]

TASK [Evaluate oo_first_master] ************************************************
changed: [localhost]

TASK [Evaluate oo_lb_to_config] ************************************************

TASK [Evaluate oo_nfs_to_config] ***********************************************

PLAY [Initialize host facts] ***************************************************

TASK [setup] *******************************************************************
fatal: [g_all_hosts | default([])]: UNREACHABLE! => {"changed": false, "msg": 
"Failed to connect to the host via ssh: ssh: Could not resolve hostname 
g_all_hosts | default([]): Name or service not known\r\n", "unreachable": true}

NO MORE HOSTS LEFT *************************************************************
    to retry, use: --limit @/root/openshift-ansible/playbooks/byo/config.retry

PLAY RECAP *********************************************************************
g_all_hosts                : ok=1    changed=0    unreachable=0    failed=0
g_all_hosts | default([])  : ok=0    changed=0    unreachable=1    failed=0
localhost                  : ok=9    changed=8    unreachable=0    failed=0


_______________________________________________
users mailing list
[email protected]<mailto:[email protected]>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to