mirror of https://github.com/ansible/ansible.git
* 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
(cherry picked from commit 3e7a622204
)
Co-authored-by: devon-mar <devon-mar@users.noreply.github.com>
pull/75864/head
parent
15f5886479
commit
4967b8650c
@ -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