mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 21:30:22 -07:00
provide usable examples for sudo validation
This commit is contained in:
parent
48922660fe
commit
7a35b95609
3 changed files with 4 additions and 4 deletions
|
@ -184,7 +184,7 @@ EXAMPLES = r"""
|
|||
state: present
|
||||
regexp: '^%ADMIN ALL='
|
||||
line: '%ADMIN ALL=(ALL) NOPASSWD: ALL'
|
||||
validate: 'visudo -cf %s'
|
||||
validate: '/usr/sbin/visudo -cf %s'
|
||||
"""
|
||||
|
||||
import re
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue