From 0649e637d38a51b5b039ab42a48dc5fb616129ec Mon Sep 17 00:00:00 2001
From: Jan-Piet Mens <jpmens@gmail.com>
Date: Sat, 29 Sep 2012 01:26:40 +0200
Subject: [PATCH] removed EXAMPLES from ini_file 	testing YAML in YAML:
 small glitch in rst template; a </pre></p> is outdented and causes messy
 display

---
 library/ini_file | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/library/ini_file b/library/ini_file
index 7f1d93372c0..21a8b185edc 100755
--- a/library/ini_file
+++ b/library/ini_file
@@ -62,6 +62,15 @@ options:
      description:
        - all arguments accepted by the M(file) module also work here
      required: false
+examples:
+   - code: ini_file dest=/etc/conf section=drinks option=fav value=lemonade mode=0600 backup=true
+     description: Ensure C(fav=lemonade) is in section C([drinks]) in said file
+   - code: |
+           ini_file dest=/etc/anotherconf
+                    section=drinks
+                    option=temperature
+                    value=cold
+                    backup=true
 notes:
    - While it is possible to add an I(option) without specifying a I(value), this makes
      no sense.
@@ -69,18 +78,6 @@ requirements: [ ConfigParser ]
 author: Jan-Piet Mens
 '''
 
-EXAMPLES = [
-""" 
-- code: ini_file dest=/etc/conf section=drinks option=fav value=lemonade mode=0600 backup=true
-  description: Ensure C(fav=lemonade) is in section C([drinks]) in said file
-""",
-""" ini_file dest=/etc/anotherconf
-        section=drinks
-        option=temperature
-        value=cold
-        backup=true
-"""
-]
 
 import ConfigParser