An opinionated role on managing unix users.
user_shell: /bin/zsh
The default shell when not specified.
user_groups: [sudo, docker]
The default user groups when not specified.
user_passwordless_sudo: true
Passwordless sudo by default.
To override the defaults set the variable without the user_
prefix for each
user. E.g
- role: ansible-role-users
vars:
users:
- name: dani
ssh_public_key: XXXX
groups: [developers]
passwordless_sudo: false
- hosts: servers
roles:
- role: ansible-role-users
vars:
users:
- name: dani
ssh_public_key: XXXX
MIT