ansible / molecule

Molecule aids in the development and testing of Ansible content: collections, playbooks and roles
https://ansible.readthedocs.io/projects/molecule/
MIT License
3.89k stars 664 forks source link

molecule init scenario -d <anydriver> fails with invalid value #4327

Open khurley opened 3 days ago

khurley commented 3 days ago

Prerequisites

Environment

$ molecule --version molecule 6.0.3 using python 3.9 ansible:2.15.13 default:6.0.3 from molecule

What happened

I am trying to specify a driver name of 'podman' or 'vagrant' and molecule rejects the name for the driver.

$ molecule init scenario -d podman oscontainers Usage: molecule init scenario [OPTIONS] [SCENARIO_NAME] Try 'molecule init scenario --help' for help.

Error: Invalid value for '--driver-name' / '-d': 'podman' is not 'default'.

Reproducing example

This is failing at the command line - there is no example