Description of problem: the ansible will abort if not set 'nums_infra' in inventory host Version-Release number of selected component (if applicable): https://github.com/openshift/openshift-ansible.git master How reproducible: 100% Steps to Reproduce: 1. install env with 'nums_infra' not in inventory host Actual results: TASK: [openshift_router | set_fact _ortr_images="--images='{{ openshift.master.registry_url }}'"] *** ok: [10.66.79.161] => {"ansible_facts": {"_ortr_images": "--images='registry.access.redhat.com/openshift3/ose-${component}:${version}'"}} TASK: [openshift_router | set_fact _ortr_selector="--selector='{{ openshift.master.router_selector }}'"] *** fatal: [10.66.79.161] => One or more undefined variables: 'dict object' has no attribute 'router_selector' FATAL: all hosts have already failed -- aborting Expected results: If user doesn't set 'nums_infra' in inventory host, pls do not create router/registry. Additional info:
https://github.com/openshift/openshift-ansible/pull/721
I believe that not nums_infra but num_infra should be added in the ansible inventory file. I am facing the same issue and found it when I checked the below URL.
yeah, it should be num_infra. thx Install env successfully when QE doesn't set num_infra in inventory file, and ansible doesn't create router. Move it to VERIFIED.
where are these flags documented.