From aed596088b31d3aa38b107ff6af7af056199e759 Mon Sep 17 00:00:00 2001 From: Joel Schuweiler Date: Sun, 27 Apr 2014 09:36:13 -0500 Subject: [PATCH] Finish reverting #b73cddc --- files/lineinfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/lineinfile b/files/lineinfile index f781911ccd1..780764ad7b8 100644 --- a/files/lineinfile +++ b/files/lineinfile @@ -138,7 +138,7 @@ EXAMPLES = r""" # Fully quoted because of the ': ' on the line. See the Gotchas in the YAML docs. - lineinfile: "dest=/etc/sudoers state=present regexp='^%wheel' line='%wheel ALL=(ALL) NOPASSWD: ALL'" -- lineinfile: dest=/opt/jboss-as/bin/standalone.conf regexp='^(.*)Xms(\d+)m(.*)$' line='\\1Xms${xms}m\\3' backrefs=yes +- lineinfile: dest=/opt/jboss-as/bin/standalone.conf regexp='^(.*)Xms(\d+)m(.*)$' line='\1Xms${xms}m\3' backrefs=yes # Validate a the sudoers file before saving - lineinfile: dest=/etc/sudoers state=present regexp='^%ADMIN ALL\=' line='%ADMIN ALL=(ALL) NOPASSWD:ALL' validate='visudo -cf %s'