'deployment_type' is Undefined During OpenShift Install
Issue
skipping: [node04.dev01.test.example.com] => (item=runc)
TASK [openshift_facts : Gather Cluster facts and set is_containerized if needed] *****************************************************************
fatal: [node04.dev01.test.example.com]: FAILED! => {
"failed": true
}
MSG:
The task includes an option with an undefined variable. The error was: : 'deployment_type' is undefined
The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_facts/tasks/main.yml': line 71, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Gather Cluster facts and set is_containerized if needed
^ here
exception type: <class 'ansible.errors.AnsibleUndefinedVariable'>
exception: : 'deployment_type' is undefined
Environment
- Red Hat OpenShift Container Platform
- 3.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.