Description of problem: Set containerized=true in ansible inventory, trigger a containerized installation. But ansible still get "is_containerized": "False" when gather cluster facts. Version-Release number of selected component (if applicable): https://github.com/openshift/openshift-ansible -b master How reproducible: Always Steps to Reproduce: 1.Set containerized=true in ansible inventory, trigger a containerized installation with ansible-playbook Actual results: ... TASK: [openshift_facts | set_fact ] ******************************************* ok: [openshift-x.com] => {"ansible_facts": {"l_is_containerized": "False"}} ... TASK: [openshift_facts | Gather Cluster facts and set is_containerized if needed] *** changed: [openshift-x.com] => {"ansible_facts": {... "is_atomic": false, "is_containerized": "False"... Expected results: "is_containerized" should be "True" when containerized is true Additional info:
Brenton, I wonder if your containerized fix addresses this.
It should. https://github.com/openshift/openshift-ansible/pull/1695
Verify this with openshift-ansible-3.0.74-1.git.0.29a226f.el7.noarch Set containerized=True in ansible inventory, master and nodes are RHEL hosts. ansible-playbook -i hosts -v /usr/share/ansible/openshift-ansible/playbooks/byo/config.yml ... TASK: [openshift_facts | set_fact ] ******************************************* ok: [openshift-x.com] => {"ansible_facts": {"l_is_atomic": "False"}} ok: [openshift-x.com] => {"ansible_facts": {"l_is_atomic": "False"}} TASK: [openshift_facts | set_fact ] ******************************************* ok: [openshift-x.com] => {"ansible_facts": {"l_is_containerized": "True"}} ok: [openshift-x.com] => {"ansible_facts": {"l_is_containerized": "True"}}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1065