[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