Error while running ansible-playbook on OS 3.1.1
After configuring 6 VMs (3 master, 3 node), I am attempting to run the playbook. I'm getting this for each of the master and nodes:
fatal: [master2.asdf.com]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'openshift_version'\n\nThe error appears to have been in '/usr/share/ansible/openshift-ansible/playbooks/init/version.yml': line 20, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n tasks:\n - set_fact:\n ^ here\n"}
Line 20 seems to be:
- set_fact:
openshift_version: "{{ l_first_master_openshift_version }}"
openshift_pkg_version: "{{ l_first_master_openshift_pkg_version }}"
openshift_image_tag: "{{ l_first_master_openshift_image_tag }}"
openshift-ansible version seems to be: 3.11.59-1.git.0.ba8e948.el7
Any ideas?
thanks!