---
# file: roles/base/tasks/core_sudo.yml
- name: Enabled passwordless for wheel group
lineinfile:
path: /etc/sudoers
state: present
regexp: '^%wheel'
line: '%wheel ALL=(ALL) NOPASSWD: ALL'
validate: 'visudo -cf %s'