1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Give headers a default so that we can add to it.

This commit is contained in:
Toshio Kuratomi 2016-03-24 07:23:10 -07:00 committed by Matt Clay
parent 6e2f724919
commit 6fae6c7b2d

View file

@ -350,7 +350,7 @@ def main():
removes = dict(required=False, default=None, type='path'),
status_code = dict(required=False, default=[200], type='list'),
timeout = dict(required=False, default=30, type='int'),
headers = dict(required=False, type='dict')
headers = dict(required=False, type='dict', default={})
))
module = AnsibleModule(