infrastructure/ansible/roles/common/tasks/user.yml
2020-05-09 20:47:41 +01:00

14 lines
272 B
YAML

- name: Make me
user:
name: "{{ user }}"
home: "{{ home }}"
comment: Jake Howard
shell: /usr/bin/bash
system: true
become: true
- name: Give user sudo access
lineinfile:
path: /etc/sudoers
line: "{{ user }} ALL=(ALL) ALL"
become: true