mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 22: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
|
@ -137,7 +137,7 @@ EXAMPLES = r'''
|
|||
- template:
|
||||
src: /mine/sudoers
|
||||
dest: /etc/sudoers
|
||||
validate: 'visudo -cf %s'
|
||||
validate: '/usr/sbin/visudo -cf %s'
|
||||
|
||||
# Update sshd configuration safely, avoid locking yourself out
|
||||
- template:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue