18 lines
343 B
YAML
18 lines
343 B
YAML
---
|
|
# tasks file for roles/new_sudoers_user
|
|
#
|
|
# Params: [sudoers]
|
|
|
|
- name: Make sure we have a 'wheel' group
|
|
group:
|
|
name: wheel
|
|
state: present
|
|
|
|
- name: Template a file to /etc/sudoers.d
|
|
ansible.builtin.template:
|
|
src: {{ sudoers_template_file_path }}
|
|
dest: /etc/file.conf
|
|
owner: root
|
|
group: root
|
|
mode: ug+rwX,o=
|