wheel for sudo too
parent
d73f488ebb
commit
a5f9d164a7
|
@ -6,3 +6,7 @@
|
|||
- name: 'alpine-specific wheel things'
|
||||
include_tasks: alpine.yml
|
||||
when: ansible_distribution == "Alpine"
|
||||
|
||||
- name: setup with sudo
|
||||
include_tasks: sudo.yml
|
||||
when: ansible_distribution in ["Debian", "Ubuntu"]
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
- name: install sudo
|
||||
apt:
|
||||
name: sudo
|
||||
when: ansible_distribution in ["Debian", "Ubuntu"]
|
||||
|
||||
- name: allow wheel sudo without password
|
||||
community.general.sudoers:
|
||||
commands: ALL
|
||||
group: wheel
|
||||
name: wheel
|
||||
nopassword: true
|
Loading…
Reference in New Issue