Hi All,

I am trying to install OpenShift Origin V3 using ansible and it fails with 
following error:

TASK: [openshift_facts | Ensure PyYaml is installed] 
************************** 
ok: [192.168.144.132] => (item=PyYAML)

TASK: [openshift_facts | Gather Cluster facts] 
******************************** 
ok: [192.168.144.132]

TASK: [openshift_repos | assert ] 
********************************************* 
failed: [192.168.144.132] => {"assertion": 
"openshift.common.deployment_type in known_openshift_deployment_types", 
"evaluated_to": false, "failed": true}

FATAL: all hosts have already failed -- aborting

PLAY RECAP 
******************************************************************** 
           to retry, use: --limit @/home/suryaveer/config.retry

192.168.144.132            : ok=20   changed=2    unreachable=0    failed=1 
  
localhost                  : ok=8    changed=0    unreachable=0    failed=0 
  

*Below is my ansible host file:*

[OSEv3:children"]
masters
nodes
 
[OSEv3:vars]
ansible_ssh_user=centos
ansible_sudo=true
#ansible_ssh_user=root
 
product_type=openshift
*deployment_type=origin*
 
[masters]
192.168.144.132 openshift_public_hostname=master openshift_ip=10.0.1.163 
openshift_public_ip=192.168.144.132
 
[nodes]
192.168.144.128 openshift_public_hostname=node1 openshift_ip=10.0.1.164 
openshift_public_ip=192.168.144.128 openshift_node_labels="{'region': 
'primary', 'zone': 'east'}" 
192.168.144.129 openshift_public_hostname=node2 openshift_ip=10.0.1.165 
openshift_public_ip=192.168.144.129 openshift_node_labels="{'region': 
'primary', 'zone': 'west'}"

I found one post on github for similar error but was inconclusive.

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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9fbecfca-2eb2-4b2c-8d30-0842d3cc3352%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to