Ansible 2.0 bug
Closed this issue · 3 comments
Lagrang commented
Try run playbook with your role using Ansible 2.0. It ends with error:
ERROR! 'version' is not a valid attribute for a RoleMetadata
The error appears to have been in '/etc/ansible/roles/bertvv.bind/meta/main.yml': line 2, column 1, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
---
galaxy_info:
^ here
bertvv commented
version:
is an unofficial field that is used by a third-party tool for managing role dependencies (librarian-ansible
). Custom meta fields are no longer accepted in Ansible 2.0. See ansible/ansible#13496 for more info.
I will remove version:
from the next release of this role.
bertvv commented
Fixed in v3.3.1. Sorry for the wait!