From acd54260946a97e03ffa4f0748ac518c705821e4 Mon Sep 17 00:00:00 2001 From: "gw0 [http://gw.tnode.com/]" Date: Thu, 4 Apr 2013 05:03:52 +0200 Subject: [PATCH] Improved backrefs example in lineinfile. --- library/lineinfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/lineinfile b/library/lineinfile index b4be012ea7..75f5e99d14 100644 --- a/library/lineinfile +++ b/library/lineinfile @@ -125,7 +125,7 @@ EXAMPLES = r""" lineinfile: dest=/etc/sudoers state=present regexp='^%wheel' line ='%wheel ALL=(ALL) NOPASSWD: ALL' - lineinfile: dest=/opt/jboss-as/bin/standalone.conf state=present regexp='^(.*)Xms(\d+)m(.*)$' line='\\1Xms${xms}m\\3' + lineinfile: dest=/opt/jboss-as/bin/standalone.conf regexp='^(.*)Xms(\d+)m(.*)$' line='\\1Xms${xms}m\\3' backrefs=yes """