mirror of https://github.com/ansible/ansible.git
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 keypull/75690/head
parent
55d448baa7
commit
3e7a622204
@ -0,0 +1,3 @@
|
||||
---
|
||||
bugfixes:
|
||||
- roles - fix unexpected ``AttributeError`` when an empty ``argument_specs.yml`` is present (https://github.com/ansible/ansible/pull/75604).
|
@ -0,0 +1,2 @@
|
||||
---
|
||||
argument_specs:
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
- debug:
|
||||
msg: "Role with empty argument_specs key"
|
@ -0,0 +1 @@
|
||||
---
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
- debug:
|
||||
msg: "Role with empty argument_specs.yml"
|
Loading…
Reference in New Issue