From 5f473ef3c1e54a1687acd1958da96619aa6b2172 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. --- lineinfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lineinfile b/lineinfile index b4be012ea75..75f5e99d140 100644 --- a/lineinfile +++ b/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 """