|
|
@ -63,14 +63,14 @@ options:
|
|
|
|
- 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
|
|
|
|
examples:
|
|
|
|
examples:
|
|
|
|
- code: "ini_file: dest=/etc/conf section=drinks option=fav value=lemonade mode=0600 backup=true"
|
|
|
|
- code: "ini_file: dest=/etc/conf section=drinks option=fav value=lemonade mode=0600 backup=yes"
|
|
|
|
description: Ensure C(fav=lemonade) is in section C([drinks]) in said file
|
|
|
|
description: Ensure C(fav=lemonade) is in section C([drinks]) in said file
|
|
|
|
- code: |
|
|
|
|
- code: |
|
|
|
|
ini_file: dest=/etc/anotherconf
|
|
|
|
ini_file: dest=/etc/anotherconf
|
|
|
|
section=drinks
|
|
|
|
section=drinks
|
|
|
|
option=temperature
|
|
|
|
option=temperature
|
|
|
|
value=cold
|
|
|
|
value=cold
|
|
|
|
backup=true
|
|
|
|
backup=yes
|
|
|
|
notes:
|
|
|
|
notes:
|
|
|
|
- While it is possible to add an I(option) without specifying a I(value), this makes
|
|
|
|
- While it is possible to add an I(option) without specifying a I(value), this makes
|
|
|
|
no sense.
|
|
|
|
no sense.
|
|
|
|