diff options
author | devon-mar <devon-mar@users.noreply.github.com> | 2021-09-10 11:35:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 14:35:41 -0400 |
commit | 3e7a6222047aae29db4ce0005c0bdf320c7f7918 (patch) | |
tree | 35354d017cd80f0db4756946e2eb7078fafb33f9 /changelogs | |
parent | 55d448baa7bc11f71f1043dc8d4055efd5c53b6d (diff) | |
download | ansible-3e7a6222047aae29db4ce0005c0bdf320c7f7918.tar.gz |
Fix unexpected exception when a role has an empty argument_specs.yml (#75604)
* Fix role with empty argument_specs.yml
* Use try/except and add changelog fragment
* Always return a dict
* Add test for empty argument_specs key
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/fragments/75604-empty-argument-specs.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changelogs/fragments/75604-empty-argument-specs.yml b/changelogs/fragments/75604-empty-argument-specs.yml new file mode 100644 index 0000000000..49db731ad2 --- /dev/null +++ b/changelogs/fragments/75604-empty-argument-specs.yml @@ -0,0 +1,3 @@ +--- +bugfixes: + - roles - fix unexpected ``AttributeError`` when an empty ``argument_specs.yml`` is present (https://github.com/ansible/ansible/pull/75604). |