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.
Adds a new variable
copy_defaults_vars
set tofalse
. If set totrue
the content of the rolesdefaults/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 indefaults/main.yml
can then be referenced in the test definitions, see https://github.com/aelsabbahy/goss/blob/master/docs/manual.md#templates.