deploy-base/roles/create-user/defaults/main.yml
2024-03-23 11:57:38 -05:00

13 lines
401 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