ansible-community / molecule-plugins

Collection on molecule plugins
MIT License
109 stars 73 forks source link

create/destroy playbooks should not be copied to scenario #18

Closed ssbarnea closed 1 year ago

ssbarnea commented 3 years ago

When creating a new scenario we should not copy the embedded create/destroy playbooks into it as this would mean that the scenario will not be able to make use of newer versions of the driver.

Same approach was taken with other drivers like docker and podman, which do not copy their playbooks to the scenario folder.

nbttmbrg commented 3 years ago

Files from molecule/default folders should get copied to the scenario.

nbttmbrg commented 2 years ago

@ssbarnea : I tried to replicate the issue and compare the behaviour of the gce driver with the podman and docker ones. They all seem to behave the same way : when creating a new scenario, the create.yml/destroy.yml playbooks get copied in the new scenario. Am I misunderstanding or missing something ?