ansible-community / molecule-goss

Molecule Goss Verifier
https://github.com/ansible-community/molecule-plugins
MIT License
12 stars 11 forks source link

update goss version, fix ansible-lint warnings, add ability to copy defaults vars to goss vars #13

Closed markwell-ch closed 3 years ago

markwell-ch commented 3 years ago

Adds a new variable copy_defaults_vars set to false. If set to true the content of the roles defaults/main.yml are copied to the {{ goss_test_directory }}/vars file on the remote and {{ goss_test_directory }}/vars is passed to goss with --vars. The vars defined in defaults/main.yml can then be referenced in the test definitions, see https://github.com/aelsabbahy/goss/blob/master/docs/manual.md#templates.