Failed host pattern matching testing with --parallel #3258
Unanswered
kevingentile
asked this question in
Q&A
Replies: 2 comments
-
To confirm, it works without |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Desired Behavior
Testing scenarios with
--parallel
targets the inventory specified in the playbook.Actual Behaviour
In the example repository I've configured different hostnames in the molecule docker platform and targeted specific hosts who's name is reflected in the scenario name. Testing scenarios with
--parallel
reports:This causes Ansible to skip the target playbook tasks and related tests. It appears the test inventory file may not be populating within the containers.
A sample repository can be found here: https://github.com/kevingentile/molecule-parallel-example.
The following example is executed in a docker-in-docker alpine container with molecule[docker] installed through
pip
: https://gist.github.com/kevingentile/a82bbfdd85e0d4081cb60397ea625084Beta Was this translation helpful? Give feedback.
All reactions