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

ini_file 'create' parameter default value should be True

Updated create default value to True to match documentation (and common sense).
This commit is contained in:
Matt Parkes 2017-01-17 18:24:20 +10:00 committed by Brian Coca
parent 5b7e8a7bd6
commit f0f20d8a1c

View file

@ -151,7 +151,7 @@ def match_active_opt(option, line):
# do_ini # do_ini
def do_ini(module, filename, section=None, option=None, value=None, 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': '', diff = {'before': '',
'after': '', 'after': '',