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

pull/45754/head
Sloane Hertel 6 years ago 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:

Loading…
Cancel
Save