Closed nhosoi closed 4 years ago
tests/tasks/setup_test.yml is updated based on https://github.com/oasis-roles/meta_standards
Using loop instead of with_first_found.
Using '_' instead of '-' in the platform/version specific file name.
Using absolute path for var lookup Note: since the include_var is used in the playbook, the absolute path starts with {{ playbook_dir }} instead of {{ role_path }}.
Replacing "include:" with "include_tasks" in the test playbooks. See the notes in https://docs.ansible.com/ansible/latest/modules/include_module.html#notes regarding nonintuitive behavior and possible future deprecation.
Thank you for your reviews, @richm.
tests/tasks/setup_test.yml is updated based on https://github.com/oasis-roles/meta_standards
Using loop instead of with_first_found.
Using '_' instead of '-' in the platform/version specific file name.
Using absolute path for var lookup Note: since the include_var is used in the playbook, the absolute path starts with {{ playbook_dir }} instead of {{ role_path }}.
Replacing "include:" with "include_tasks" in the test playbooks. See the notes in https://docs.ansible.com/ansible/latest/modules/include_module.html#notes regarding nonintuitive behavior and possible future deprecation.