ansible-for-kubernetes icon indicating copy to clipboard operation
ansible-for-kubernetes copied to clipboard

fix: update driver in molecule.yml to 'default' for Molecule 25.x com…

Open AndrewJesse opened this issue 7 months ago • 4 comments

Replaced delegated driver with default as delegated is no longer supported in Molecule 25.x and above.

Ensures compatibility with the latest Molecule version and prevents runtime errors.

AndrewJesse avatar May 16 '25 21:05 AndrewJesse

It seems like it would still work with delegated, though? https://github.com/ansible/molecule/blob/main/src/molecule/data/driver.json#L6

geerlingguy avatar May 16 '25 22:05 geerlingguy

it has been renamed to "default": 21f3cf2. I'm not sure if the change has been properly documented.

AndrewJesse avatar May 16 '25 22:05 AndrewJesse

Oh, I missed your Enum reference. I see it now. Changing the value in my PR seemed to work for me during the build. My interpreter was complaining that the value didn’t exist. Perhaps you intended for your readers to use a specific venv?

AndrewJesse avatar May 17 '25 02:05 AndrewJesse

@AndrewJesse - No, I'm okay with updating it at some point, just wanted to make sure it still works regardless.

geerlingguy avatar May 18 '25 03:05 geerlingguy