We will stop disabling swap on every upgrade because we've required swap to be disabled since 3.4. This PR is for removing the optional variable which was never publicly documented. release-3.11: https://github.com/openshift/openshift-ansible/pull/10604
Fixed in openshift-ansible-3.11.40-1
According to comment 2, we decide to leave the disable task out of 3.11 upgrade, but in 3.10 fresh install. I tried a 3.10 fresh install with openshift-ansible-3.10.71-1.git.0.3e9431a.el7.noarch, even I set "openshift_disable_swap=false" in inventory file, "Disable swap" task is still called, the PR is working well as expected. I also tried a 3.11 fresh install with openshift-ansible-3.11.41-1.git.0.f711b2d.el7.noarch, set "openshift_disable_swap=false" in inventory file, "Disable swap" task is still called, the PR is working well.
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-2019:0024