inhumantsar.local-user
Local User
What is it?
This tool creates local user accounts and sets up common configurations for those users.
How to Use It
For each user, you can change the variables in defaults/main.yml
.
To create multiple users at once, use the following code:
- name: Creating user accounts...
include_role: name='inhumantsar.local-user'
vars:
user_blockvar: '{{outer_item}}'
with_items: '{{users}}'
loop_control:
loop_var: 'outer_item'
Requirements
You need Ansible version 2.3 or higher to use this.