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
parent 13da54ea34
commit a2f41dfb04

View file

@ -351,7 +351,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(