env-ansible/tasks/users.yml

13 lines
213 B
YAML

- name: Create Ansible User
user:
name: hyper
system: yes
- name: Add Ansible Sudoers File
copy:
src: sudoers_hyper
dest: /etc/sudoers.d/ansible
owner: root
group: root
mode: 0440