7 Commits (main)

Author SHA1 Message Date
Moritz 'e1mo' Fromm c59bb754e3
Add support for custom user groups 3 years ago
Moritz 'e1mo' Fromm 7bfaee6e72
Fix tasks from failing in check_mode
By applying `check_mode: no` to the tasks collecting the current locale
and bash path, those tasks will be executed in the check mode and
subsequent tasks reyling on those won't fail.

See https://docs.ansible.com/ansible/latest/user_guide/playbooks_checkmode.html#enforcing-or-preventing-check-mode-on-tasks
for reference.
3 years ago
Simeon Keske a89e985df1
only add users to pve admin group, if are can sudo 4 years ago
Simeon Keske 81b5c237b9
only add user`s key to root, if sudo=yes 4 years ago
Leo Maroni 884710fb1f Formatting plus notify in sshd; allow username instead of only name in
variables; use which instead of command
- Formatting + notify in sshd config
- Use which instead of command (because of problems with sudo [no such file or directory])
- Allow using username instead of name in variables (because of compliance with oh-my-zsh role (https://github.com/gantsign/ansible-role-oh-my-zsh))
4 years ago
Simeon Keske ef3346523d
make linter happy(er) 4 years ago
Simeon Keske 5a5cdc94cc
initial commit 4 years ago