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

Adds description for ini_file "section: null"

This commit is contained in:
Michael Herold 2016-10-20 17:09:50 +02:00 committed by Brian Coca
parent f24ab68f04
commit a532dd915a

View file

@ -45,17 +45,19 @@ options:
description: description:
- Section name in INI file. This is added if C(state=present) automatically when - Section name in INI file. This is added if C(state=present) automatically when
a single value is being set. a single value is being set.
- If left empty or set to `null`, the I(option) will be placed before the first I(section).
Using `null` is also required if the config format does not support sections.
required: true required: true
default: null default: null
option: option:
description: description:
- if set (required for changing a I(value)), this is the name of the option. - If set (required for changing a I(value)), this is the name of the option.
- May be omitted if adding/removing a whole I(section). - May be omitted if adding/removing a whole I(section).
required: false required: false
default: null default: null
value: value:
description: description:
- the string value to be associated with an I(option). May be omitted when removing an I(option). - The string value to be associated with an I(option). May be omitted when removing an I(option).
required: false required: false
default: null default: null
backup: backup:
@ -67,7 +69,7 @@ options:
choices: [ "yes", "no" ] choices: [ "yes", "no" ]
others: others:
description: description:
- all arguments accepted by the M(file) module also work here - All arguments accepted by the M(file) module also work here
required: false required: false
state: state:
description: description:
@ -77,7 +79,7 @@ options:
choices: [ "present", "absent" ] choices: [ "present", "absent" ]
no_extra_spaces: no_extra_spaces:
description: description:
- do not insert spaces before and after '=' symbol - Do not insert spaces before and after '=' symbol
required: false required: false
default: false default: false
version_added: "2.1" version_added: "2.1"