Add user
- add new user
- add user into groups
- configure passwordless access for user
Requirements
Role Variables
- main_user
- groups(list)
- user_password
Dependencies
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: username.rolename, x: 42 }
License
BSD