mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[iam_role] A hyphen with nothing following becomes [None] rather than []. Fix example syntax. (#45742)
This commit is contained in:
parent
d7ca3f2bd3
commit
b42c7f4512
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue