13 lines
400 B
YAML
13 lines
400 B
YAML
---
|
|
create_username: "{{ lookup('env','USER') }}"
|
|
create_pwgen: "{{ lookup('password', '/dev/null chars=ascii_letters,digits,hexdigits,punctuation length=32') }}"
|
|
sudo_group_by_fam:
|
|
Debian: sudo
|
|
RedHat: wheel
|
|
created_users_groups: # sorted by os_family
|
|
Debian:
|
|
- "{{ sudo_group_by_fam[ansible_os_family] }}"
|
|
RedHat:
|
|
- "{{ sudo_group_by_fam[ansible_os_family] }}"
|
|
- adm
|
|
- disk
|