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

pull/18777/head
Toshio Kuratomi 9 years ago committed by Matt Clay
parent 6e2f724919
commit 6fae6c7b2d

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

Loading…
Cancel
Save