ini_file 'create' parameter default value should be True

Updated create default value to True to match documentation (and common sense).
pull/23581/head
Matt Parkes 8 years ago committed by Brian Coca
parent 5b7e8a7bd6
commit f0f20d8a1c

@ -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': '',

Loading…
Cancel
Save