From 8c11624f1442e6a7634fdba4ed96c49c346c74d5 Mon Sep 17 00:00:00 2001 From: jtsoi Date: Fri, 19 Apr 2013 22:43:50 +0300 Subject: [PATCH] Typo in example, extra space breaks playbook. --- library/lineinfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/lineinfile b/library/lineinfile index 75f5e99d14..5e9cecbcfe 100644 --- a/library/lineinfile +++ b/library/lineinfile @@ -123,7 +123,7 @@ EXAMPLES = r""" lineinfile: dest=/etc/services regexp="^# port for http" insertbefore="^www.*80/tcp" line="# port for http by default" - lineinfile: dest=/etc/sudoers state=present regexp='^%wheel' line ='%wheel ALL=(ALL) NOPASSWD: ALL' + 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 """