From f0f20d8a1c593005627250f17c0401df13ac26c0 Mon Sep 17 00:00:00 2001 From: Matt Parkes Date: Tue, 17 Jan 2017 18:24:20 +1000 Subject: [PATCH] ini_file 'create' parameter default value should be True Updated create default value to True to match documentation (and common sense). --- lib/ansible/modules/files/ini_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/ini_file.py b/lib/ansible/modules/files/ini_file.py index bb74009f30..7cd94826c4 100644 --- a/lib/ansible/modules/files/ini_file.py +++ b/lib/ansible/modules/files/ini_file.py @@ -151,7 +151,7 @@ def match_active_opt(option, line): # do_ini def do_ini(module, filename, section=None, option=None, value=None, - state='present', backup=False, no_extra_spaces=False, create=False): + state='present', backup=False, no_extra_spaces=False, create=True): diff = {'before': '', 'after': '',