Commit 35ab3d39 authored by eric pellegrini's avatar eric pellegrini

added playbook for disabling sudo password

parent 092540ff
# To be run using the following command:
# ansible-playbook -i my-inventory disable_sudo_password.yml -b -K
- hosts: all
- lineinfile:
path: /etc/sudoers
state: present
regexp: '^%sudo'
line: '%sudo ALL=(ALL) NOPASSWD: ALL'
validate: 'visudo -cf %s'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment