infrastructure/ansible/roles/common/tasks/user.yml

15 lines
270 B
YAML
Raw Normal View History

2020-05-09 20:47:41 +01:00
- name: Make me
user:
name: "{{ user }}"
home: "{{ home }}"
comment: Jake Howard
shell: "/bin/bash"
2020-05-09 20:47:41 +01:00
system: true
become: true
- name: Give user sudo access
lineinfile:
path: /etc/sudoers
line: "{{ user }} ALL=(ALL) ALL"
become: true