14 lines
269 B
YAML
14 lines
269 B
YAML
- name: Make me
|
|
user:
|
|
name: "{{ user }}"
|
|
home: "{{ home }}"
|
|
comment: "{{ name }}"
|
|
shell: /bin/bash
|
|
system: true
|
|
become: true
|
|
|
|
- name: Give user sudo access
|
|
lineinfile:
|
|
path: /etc/sudoers
|
|
line: "{{ user }} ALL=(ALL) ALL"
|
|
become: true
|