2016-02-26 12:46:16 +00:00
|
|
|
---
|
|
|
|
# Sudoers configuration (enables more convenient Vagrant usage).
|
|
|
|
- name: Copy sudoers configuration into place.
|
|
|
|
copy:
|
|
|
|
src: files/etc/sudoers
|
|
|
|
dest: /etc/sudoers
|
|
|
|
mode: 0440
|
|
|
|
validate: 'visudo -cf %s'
|
2016-05-23 11:41:30 +00:00
|
|
|
become: yes
|
2016-09-25 06:50:09 +00:00
|
|
|
when: configure_sudoers
|