You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With recent PR merged in molecule (ansible/molecule#3765 and ansible/molecule#3898), now we can provide a schema for docker, podman, ec2 and I hope this will solve the issue (there may still be bugs or missing support).
For the record:
docker, podman plugins are expecting volumes to be a list of string
ec2 plugin is expecting volumes to be a list of dict.
In the platform definition of the EC2 driver, the expected type for the
volumes
parameter is a list of dict - https://github.com/ansible/ansible-lint/blob/main/src/ansiblelint/schemas/molecule.jsonThe Molecule schema definition for volumes expects a list of string - https://github.com/ansible-community/molecule/blob/main/src/molecule/data/molecule.json#L263-L268
As such, molecule errors out when attempting to create instances when
volumes
is defined in the platform paramAn example of what a config for this might look like:
The text was updated successfully, but these errors were encountered: