Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Molecule delegated driver doesn't support ansible_shell_type connection parameter #3930

Closed
zollo opened this issue Jun 7, 2023 · 0 comments
Labels

Comments

@zollo
Copy link
Contributor

zollo commented Jun 7, 2023

Issue Type

  • Bug report

Molecule and Ansible details

All Versions of Ansible
All Versions of Molecule

Molecule installation method (one of):

  • pip

Ansible installation method (one of):

  • pip

Detail any linters or test runners used:

Desired Behavior

The delegated driver only supports a select number of Ansible connection params in the instance dict: https://github.com/ansible-community/molecule/blob/main/src/molecule/driver/delegated.py - the ansible_shell_type param is missing.

The shell type paramater is necessary in one particular use case that I can think of - testing Windows instances via SSH where ansible_shell_type: powershell must be set.

Actual Behaviour

Adding shell_type to the instance dict does not properly map into the generated molecule inventory as ansible_shell_type. This seems like an oversight - and therefore a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant