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

ini lookup: add 'type' to the list of known arguments (#17707)

Fixes #16556
This commit is contained in:
jctanner 2016-09-22 11:32:14 -04:00 committed by GitHub
parent 8b08a28c89
commit a2547db5b5

View file

@ -36,7 +36,7 @@ from ansible.module_utils._text import to_bytes, to_text
def _parse_params(term):
'''Safely split parameter term to preserve spaces'''
keys = ['key', 'section', 'file', 're']
keys = ['key', 'type', 'section', 'file', 're']
params = {}
for k in keys:
params[k] = ''