diff --git a/ansible/roles/kolla-openstack/molecule/default/molecule.yml b/ansible/roles/kolla-openstack/molecule/default/molecule.yml index c6e2ff998..241f5d400 100644 --- a/ansible/roles/kolla-openstack/molecule/default/molecule.yml +++ b/ansible/roles/kolla-openstack/molecule/default/molecule.yml @@ -19,3 +19,7 @@ scenario: name: default verifier: name: testinfra + options: + # Disable pytest-ansible which conflicts with argument --ansible-inventory + # https://github.com/pytest-dev/pytest-testinfra/issues/58 + p: "no:pytest-ansible" diff --git a/ansible/roles/kolla-openstack/molecule/enable-everything/molecule.yml b/ansible/roles/kolla-openstack/molecule/enable-everything/molecule.yml index 6a5966e4b..345cc4eef 100644 --- a/ansible/roles/kolla-openstack/molecule/enable-everything/molecule.yml +++ b/ansible/roles/kolla-openstack/molecule/enable-everything/molecule.yml @@ -146,3 +146,7 @@ scenario: name: enable-everything verifier: name: testinfra + options: + # Disable pytest-ansible which conflicts with argument --ansible-inventory + # https://github.com/pytest-dev/pytest-testinfra/issues/58 + p: "no:pytest-ansible" diff --git a/molecule-requirements.txt b/molecule-requirements.txt index 794a7bf57..d8bfca33d 100644 --- a/molecule-requirements.txt +++ b/molecule-requirements.txt @@ -7,7 +7,7 @@ ansible-compat # MIT docker # Apache-2.0 molecule # MIT molecule-plugins[docker] # MIT +pytest-ansible # MIT pytest-metadata # MPL -pytest-molecule # MIT pytest-testinfra yamllint # GPLv3 diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 547859b0f..259856e83 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -13,8 +13,7 @@ files: THIS-JOB-IS-DISABLED - kayobe-tox-ansible-syntax - kayobe-tox-ansible - - kayobe-tox-molecule: - voting: false + - kayobe-tox-molecule - kayobe-overcloud-rocky9 - kayobe-overcloud-centos9s - kayobe-overcloud-ubuntu-noble @@ -42,7 +41,7 @@ files: THIS-JOB-IS-DISABLED - kayobe-tox-ansible-syntax - kayobe-tox-ansible - #- kayobe-tox-molecule + - kayobe-tox-molecule - kayobe-overcloud-rocky9 - kayobe-overcloud-ubuntu-noble - kayobe-overcloud-tls-rocky9