Ansible < 2.11 fails on roles that contain argument specification #74525
Labels
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
P3
Priority 3 - Approved, No Time Limitation
python3
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
Summary
If the role contains an argument specification, Ansible < 2.11 fails to use it and reports "ERROR! 'argument_specs' is not a valid attribute for a RoleMetadata".
Issue Type
Bug Report
Component Name
include_role
Ansible Version
Configuration
$ ansible-config dump --only-changedOS / Environment
Fedora 33
Steps to Reproduce
Expected Results
Ansible should ignore the
argument_specsand run the role without parameter validation.Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: