make some stuff distro-agnostic
This commit is contained in:
parent
dc0781b13b
commit
46c14b88b7
13 changed files with 41 additions and 173 deletions
|
@ -1,3 +1,13 @@
|
|||
---
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue