ansible-community / molecule-plugins

Collection on molecule plugins
MIT License
101 stars 67 forks source link

23.4.1: box_url templating broken #171

Closed yviel-de closed 1 year ago

yviel-de commented 1 year ago

Using molecule-plugins version 23.4.1 installed via pipenv, the templating of the box_url parameter is broken.

How is it broken? It sets up " control characters instead of double-quotes inside the Vagrantfile.

Example Configuration

driver:
  name: vagrant
  provider:
    name: libvirt
    type: libvirt
platforms:
  - name: my-box
    box: my-box
    box_url: SOMESTRING

While all the other options get templated out OK, the box_url does not. In the Vagrantfile that gets templated out, it shows up as c.vm.box_url = "SOMESTRING", instead of c.vm.box_url = "SOMESTRING", therefore creating a syntax error in the templated-out Vagrantfile.

yviel-de commented 1 year ago

Nevermind, duplicate of #158