Merge pull request #7119 from jjshoe/patch-4
Finish reverting a broken commit in #5679
This commit is contained in:
commit
6b26efdee0
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ EXAMPLES = r"""
|
||||||
# Fully quoted because of the ': ' on the line. See the Gotchas in the YAML docs.
|
# 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=/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
|
# 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'
|
- lineinfile: dest=/etc/sudoers state=present regexp='^%ADMIN ALL\=' line='%ADMIN ALL=(ALL) NOPASSWD:ALL' validate='visudo -cf %s'
|
||||||
|
|
Loading…
Reference in a new issue