Compare commits
2 Commits
390abd0f0a
...
e50ccd7ef0
Author | SHA1 | Date |
---|---|---|
Bertrand Benjamin | e50ccd7ef0 | |
Bertrand Benjamin | 8e98717b54 |
|
@ -29,6 +29,7 @@ pacman_admin:
|
|||
- cifs-utils
|
||||
- traceroute
|
||||
- smartmontools
|
||||
- vifm
|
||||
|
||||
pacman_pkgs:
|
||||
- "{{ pacman_base }}"
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
root ALL=(ALL) ALL
|
||||
%sudo ALL=(ALL) ALL
|
||||
|
||||
Defaults env_reset
|
||||
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
||||
#includedir /etc/sudoers.d
|
|
@ -6,3 +6,13 @@
|
|||
state: present
|
||||
with_items: "{{ pacman_pkgs }}"
|
||||
|
||||
- name: Configure sudoers
|
||||
template:
|
||||
src: files/sudoers
|
||||
dest: /etc/sudoers
|
||||
mode: 0440
|
||||
|
||||
- name: Create sudo group
|
||||
group:
|
||||
name: sudo
|
||||
state: present
|
||||
|
|
Loading…
Reference in New Issue