ansible_lxd_tests/Playbooks/roles/new_sudoers_user/tasks/main.yml

18 lines
343 B
YAML
Raw Normal View History

2022-07-16 23:28:28 -03:00
---
# 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=