initial checkin
This commit is contained in:
commit
2e3f312a0a
|
@ -0,0 +1,3 @@
|
|||
# User rules added by ansible
|
||||
{{ sudoers_user }} ALL=(ALL) NOPASSWD:ALL
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
#####################################################################
|
||||
#
|
||||
# Set variable 'sudoers_user' when calling role
|
||||
#
|
||||
#####################################################################
|
||||
# tasks for sudoers
|
||||
|
||||
- name: Copy sudoers file to /etc/sudoers.d/
|
||||
template:
|
||||
src: files/sudoers_user.j2
|
||||
dest: /etc/sudoers.d/sudoers_user
|
||||
mode: "0440"
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
# EOF
|
||||
|
Loading…
Reference in New Issue