13 lines
298 B
YAML
13 lines
298 B
YAML
- name: Make me
|
|
user:
|
|
name: "{{ me.user }}"
|
|
home: "{{ me.home }}"
|
|
comment: "{{ me.name }}"
|
|
shell: /bin/bash
|
|
system: true
|
|
|
|
- name: Give user sudo access
|
|
user:
|
|
name: "{{ me.user }}"
|
|
groups: "{{ 'sudo' if ansible_os_family == 'Debian' else 'wheel' }}"
|
|
append: true
|