Give headers a default so that we can add to it.
This commit is contained in:
parent
13da54ea34
commit
a2f41dfb04
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue