Change examples syntax on ini_file module

pull/18777/head
Sam Doran 8 years ago committed by Matt Clay
parent ba76df1af1
commit 1923666b22

@ -96,13 +96,20 @@ author:
EXAMPLES = '''
# Ensure "fav=lemonade is in section "[drinks]" in specified file
- ini_file: dest=/etc/conf section=drinks option=fav value=lemonade mode=0600 backup=yes
- ini_file:
dest: /etc/conf
section: drinks
option: fav
value: lemonade
mode: 0600
backup: yes
- ini_file: dest=/etc/anotherconf
section=drinks
option=temperature
value=cold
backup=yes
- ini_file:
dest: /etc/anotherconf
section: drinks
option: temperature
value: cold
backup: yes
'''
import os

Loading…
Cancel
Save