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 'default' to the list of parsed keys

Fixes #18369
This commit is contained in:
James Tanner 2016-11-08 10:35:18 -05:00 committed by Brian Coca
parent 5dd195b52f
commit 20fb74b1b1

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', 'type', 'section', 'file', 're']
keys = ['key', 'type', 'section', 'file', 're', 'default']
params = {}
for k in keys:
params[k] = ''