diff --git a/library/lineinfile b/library/lineinfile
index fbe65239383..6378e774c4a 100644
--- a/library/lineinfile
+++ b/library/lineinfile
@@ -82,6 +82,7 @@ options:
          get the original file back if you somehow clobbered it incorrectly.
 examples:
    - code: 'lineinfile: dest=/etc/selinux/config regexp=^SELINUX= line=SELINUX=disabled'
+   - code: "lineinfile: \\\"dest=/etc/sudoers state=present regexp='^%wheel' line ='%wheel ALL=(ALL) NOPASSWD: ALL'\\\""
    - code: 'lineinfile: dest=/etc/sudoers state=absent regexp="^%wheel"'
    - code: 'lineinfile: dest=/etc/httpd/conf/httpd.conf regexp="^Listen " insertafter="^#Listen " line="Listen 8080"'
 """