From 20fb74b1b1718f0145e89c31359c21f18490d131 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Tue, 8 Nov 2016 10:35:18 -0500 Subject: [PATCH] ini lookup: add 'default' to the list of parsed keys Fixes #18369 --- lib/ansible/plugins/lookup/ini.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/lookup/ini.py b/lib/ansible/plugins/lookup/ini.py index 11900c0d08..fd960617b9 100644 --- a/lib/ansible/plugins/lookup/ini.py +++ b/lib/ansible/plugins/lookup/ini.py @@ -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] = ''