diff options
author | Sam Doran <sdoran@ansible.com> | 2016-10-12 16:25:34 -0400 |
---|---|---|
committer | Sam Doran <sdoran@ansible.com> | 2016-11-14 14:12:43 -0500 |
commit | 83f42ecfd4784f4555055da4e4b5bd2bbcb04d1b (patch) | |
tree | 80909300fe0b20df8d737f0ce9bdbadbcf7de13c | |
parent | 939da41dbd6b9f13de684030c05c4767d1fa9bdc (diff) | |
download | ansible-modules-core-83f42ecfd4784f4555055da4e4b5bd2bbcb04d1b.tar.gz |
Change examples syntax on ini_file module
-rw-r--r-- | files/ini_file.py | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/files/ini_file.py b/files/ini_file.py index 4be87f63..69f092a1 100644 --- a/files/ini_file.py +++ b/files/ini_file.py @@ -95,13 +95,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 |