Add Linux-style path for sudoers file, to be consistent with other examples.

reviewable/pr18780/r1
Hubert Feyrer 12 years ago
parent b5adbfbef4
commit 401d67a8ba

@ -82,7 +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=/usr/pkg/etc/sudoers state=present regexp='^%wheel' line ='%wheel ALL=(ALL) NOPASSWD: ALL'\\\""
- 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"'
"""

Loading…
Cancel
Save