When updating rpms with the package module with docker container as a driver packages with longer names are ignored and the module reports all packages are up-to-date. E.g. ```yaml - hosts: container_host tasks: - name: "Update packages" package: name: "verylongpackagenamethatiscompletelyignoredfromtheupdates" state: "latest" ``` The issues is upstream reported and fixed by https://github.com/ansible/ansible/pull/24331. Version-Release number of selected component (if applicable): ansible-2.3.0.0-4.el7 This blocks molecule testing of ansible roles.
Does 2.3.1 fix your problem? It is in EPEL-testing. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-b316d2bb3b
The https://github.com/ansible/ansible/pull/24331 is applied in 2.3.1. So it will work too. But there is no plan to upgrade it to 2.3.1. The backport will do fine.
It turns out that this bug is specific to the usage in OpenShift and the version of Ansible that is shipped with OpenShift should have been used, which is currently ansible-2.2.3.0-1.el7. The ansible component in RHEL Extras exists mainly for rhel-system-roles, see https://bugzilla.redhat.com/show_bug.cgi?id=1313263
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/RHEA-2017:2366