mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add Linux-style path for sudoers file, to be consistent with other examples.
This commit is contained in:
parent
d4b9de643b
commit
e2158b661d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue