-
Notifications
You must be signed in to change notification settings - Fork 664
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
provisioner.options.extra-vars in molecule.yml no longer takes dict as input #3065
Comments
Please note that extra-vars as a dict were working until molecule=3.1.x. |
In my case this error happens when I specify a
If I change it to a string molecule works fine:
I see that your |
@hluaces yup.. i have seen that molecule > 3.2 doesnt treat the integers in However the issue is that
and this works.. Commandline is
But this way, we loose the flexibility of dicts and ymls. Thoughts? |
Well, Ansible's
In the new world order, we use the built-in All that being said, I do feel that treating Does special-casing the extra-vars option make sense to you all? |
is this feature still required? |
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Detail any linters or test runners used:
We use the yaml-lint and ansible-lint
Desired Behavior
The way we pass extra_vars is as given below in the molecule.yml
The expected behavior is to see the variable
testing
available in the converge stepThis is breaking the converge step when the molecule > 3.2.0 tries to run the an
Actual Behaviour
The actual behaviour is an error from the shlex library
The error is from the
shlex
library (used bysubprocess_tee
library) trying to escape the command strings -- pull #2917 and this fileReproducing
This should be self explanatory
The text was updated successfully, but these errors were encountered: