meta/main.yml
dependencies:
- { role: 030.sensu-install }
results in:
[DEPRECATION WARNING]: The comma separated role spec format, use the
yaml/explicit format instead..
This feature will be removed in a future release.
Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
when sudo ansible-galaxy install -r requirements/development.yml
is issued.
Attempts to solve the issue
When
dependencies:
- role: 030.sensu-install
version: 0.1.0
is defined, the syntax check succeeds, but the deprecation warning persists.
When
dependencies:
- src: 030.sensu-install
version: 0.1.0
is defined, sudo ansible-galaxy install -r requirements/development.yml
is run the deprecation warning is solved, but ansible-playbook /etc/ansible/roles/role_under_test/tests/${playbook} --syntax-check
results in:
ERROR! role definitions must contain a role name