Replies: 2 comments
-
Please do not file bugs for previous versions as our team can only support the latest release. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ssbarnea sorry for the confusion, this bug is present in the current version of Molecule, as well as all previous versions from what I can see. |
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):
Detail any linters or test runners used:
Desired Behavior
The molecule driver defines both
ansible_password
andansible_ssh_pass
in the instance dict,ansible_ssh_pass
seems to take precedence (as intended).Actual Behaviour
In the event where where
ansible_password
is overridden via a task, inventory, etc. the connection will still useansible_ssh_pass
, requiring the user to override both params.In this example, i'm overriding the username/password in a task - but this task will fail because the connection will use
ansible_ssh_pass
defined in the driver's generated inventory.The workaround to this would be to define ansible_ssh_pass as well:
Based on pytest-dev/pytest-testinfra#580 - the
ansible_ssh_pass
mapping should no longer be needed, so I believe it can be safely removed.Beta Was this translation helpful? Give feedback.
All reactions