ansible/changelogs/fragments/ansible_test_yamllint_avoid_attribute_exception.yaml
Gonéri Le Bouder b1d278a595
ansible-test: yamllint, check the assigment (#73583)
Ensure `yamllint`'s `check_assignment()` correctly ignore the
attribute assignment. Those don't have any `.id` attribute and will
trigger an `AttributeError` exception.

See: https://github.com/ansible/ansible/pull/73322
(cherry picked from commit 0a8d5c0983)
2021-03-08 04:16:09 -06:00

3 lines
133 B
YAML

---
bugfixes:
- yamllint - do not raise an ``AttributeError`` if a value is assigned to a module attribute at the top of the module.