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 init scenario -d <anydriver> fails with invalid value #4327

Open
7 tasks done
khurley opened this issue Nov 19, 2024 · 0 comments
Open
7 tasks done

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

khurley opened this issue Nov 19, 2024 · 0 comments
Labels

Comments

@khurley
Copy link

khurley commented Nov 19, 2024

Prerequisites

  • This was not already reported in the past (duplicate check)
  • It does reproduce it with code from main branch (latest unreleased version)
  • I include a minimal example for reproducing the bug
  • The bug is not trivial, as for those a direct pull-request is preferred
  • Running pip check does not report any conflicts
  • I was able to reproduce the issue on a different machine
  • The issue is not specific to any driver other than 'default' one

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant