Closed tvieira closed 7 years ago
Thanks for the issue. This was addressed in #978. However, Molecule 2.2 has not been released yet.
@retr0h understood. I would +1 a hotfix for this issue in specific and get it released in the Pypi server ASAP, otherwise anyone that runs a "pip install molecule" will have its tests failed.
@tvieira Molecule does not currently support Ansible 2.4, hence it has not been released. If someone is using Ansible 2.4 with Molecule then they are running an unsupported version until I release it. I like to verify all is well with releases before I jsut shove them out the door, and unfortunately that takes time.
Molecule 2.4 released to pypi which supports Ansible 2.4.
Issue Type
The current released molecule, 2.1.0, requires testinfra 1.6.3. This version of testinfra is broken with Ansible 2.4.0 due to restructure of the Ansible API.
Molecule and Ansible details
ansible 2.4.0.0 molecule, version 2.1.0
Molecule installation method: pip install molecule
Ansible installation method: pip install ansible
Desired Behaviour
Basic tests run successfully.
Actual Behaviour (Bug report only)
Test breaks during the 'verify' Action, executing testinfra.
Quick fix
To fix this issue in my environment I have to update testinfra to 1.7.1 or above. See https://testinfra.readthedocs.io/en/latest/changelog.html.
As I understand, this has been fixed already if we look at https://github.com/metacloud/molecule/blob/master/requirements.txt, but the current release at Pypi server does not correspond to this change. (fix release?)
Thanks.