mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
@@ -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': '',
|
||||
|
||||
Reference in New Issue
Block a user