mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
[iam_role] A hyphen with nothing following becomes [None] rather than []. Fix example syntax. (#45742)
This commit is contained in:
committed by
Ryan Brown
parent
d7ca3f2bd3
commit
b42c7f4512
@@ -87,8 +87,7 @@ EXAMPLES = '''
|
||||
iam_role:
|
||||
name: mynewrole
|
||||
assume_role_policy_document: "{{ lookup('file','policy.json') }}"
|
||||
managed_policy:
|
||||
-
|
||||
managed_policy: []
|
||||
|
||||
- name: Delete the role
|
||||
iam_role:
|
||||
|
||||
Reference in New Issue
Block a user