passwordless sudo for group
This commit is contained in:
@@ -20,6 +20,12 @@
|
|||||||
ansible.builtin.group:
|
ansible.builtin.group:
|
||||||
name: aurbis
|
name: aurbis
|
||||||
state: present
|
state: present
|
||||||
|
- name: Enable passwordless sudo for aurbis
|
||||||
|
community.general.sudoers:
|
||||||
|
name: aurbis-sudo
|
||||||
|
state: present
|
||||||
|
group: aurbis
|
||||||
|
commands: ALL
|
||||||
- import_tasks: tasks/create_users.yml
|
- import_tasks: tasks/create_users.yml
|
||||||
- name: Add IP address of relevant hosts to /etc/hosts
|
- name: Add IP address of relevant hosts to /etc/hosts
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|||||||
Reference in New Issue
Block a user