You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ansible --version
ansible 2.5.0 (stable-2.5 6e1ca544dd) last updated 2018/04/04 12:43:54 (GMT -400)
....
python version = 2.7.14 (default, Mar 10 2018, 00:01:11) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)]
$ ansible-lint --version
ansible-lint 3.4.21
ansible installation method: one of source
ansible-lint installation method: one of pip
Desired Behaviour
Command should not exit with error when role dependency is in newer dictionary format. The inclusion of a name or role is not mandatory when including dependencies in the meta.yml.
Actual Behaviour (Bug report only)
When a role dependency in meta/main.yml is defined like so:
Fixes: #337
Added a check in the _roles_children function if the children that are to be included came out of the dependencies.
If the are from 'dependencies' we don't expect name or key
Added testcases according to the possible notations of the dependencies in the meta/main.yml as stated here: https://docs.ansible.com/ansible/latest/reference_appendices/galaxy.html#dependencies
Issue Type
Ansible and Ansible Lint details
Desired Behaviour
Command should not exit with error when role dependency is in newer dictionary format. The inclusion of a name or role is not mandatory when including dependencies in the meta.yml.
Actual Behaviour (Bug report only)
When a role dependency in meta/main.yml is defined like so:
Errors with with:
The text was updated successfully, but these errors were encountered: