ansible / molecule

Molecule aids in the development and testing of Ansible content: collections, playbooks and roles
https://ansible.readthedocs.io/projects/molecule/
MIT License
3.88k stars 662 forks source link

serverspec example files are not created #666

Closed m4rkw closed 7 years ago

m4rkw commented 7 years ago

Issue Type

Molecule and Ansible details

ansible 2.2.0.0
molecule, version 1.17.0

Desired Behaviour

when running:

molecule init --verifier serverspec

The serverspec section of the documentation says "Example files are created" but they are not. Ideally if the docker driver is also specified it should create a spec_helper.rb that facilitates testing of the docker container.

Actual Behaviour (Bug report only)

No serverspec example files are created.

retr0h commented 7 years ago

@m4rkw molecule init --role foo --verifier serverspec appears to create examples, correct?

m4rkw commented 7 years ago

ah so it does, it just doesn't seem to do it if you init into an existing role. in any case i've figured out how to make docker work now but there would have been a lot less friction and lost time if that had worked.

retr0h commented 7 years ago

@m4rkw sorry to have disappointed :) Thanks for the bug report. Will fix it.