[iam_role] A hyphen with nothing following becomes [None] rather than []. Fix example syntax. (#45742)

This commit is contained in:
Sloane Hertel 2018-09-17 14:32:15 -04:00 committed by Ryan Brown
parent d7ca3f2bd3
commit b42c7f4512

View file

@ -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: