deploy-base/roles/create-user/defaults/main.yml

14 lines
401 B
YAML
Raw Permalink Normal View History

---
2024-03-23 16:57:38 +00:00
create_username: "{{ lookup('env', 'USER') }}"
create_pwgen: "{{ lookup('password', '/dev/null chars=ascii_letters,digits,hexdigits,punctuation length=32') }}"
2023-08-31 01:26:20 +00:00
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