Molecule delegated driver doesn't support ansible_shell_type connection parameter
zollo opened this issue · 0 comments
zollo commented
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.