2015-05-28 11:32:57 +02:00
|
|
|
---
|
2015-07-13 17:54:21 +02:00
|
|
|
#
|
|
|
|
# This role adds users to a system
|
|
|
|
# The users can access if their ssh key is provided
|
|
|
|
# Users can have sudo privileges if the 'admin' property is 'true'
|
|
|
|
# admin users can also directly log as root when 'user_admin_can_log_as_root' is set to 'true'
|
|
|
|
|
2015-05-31 19:35:38 +02:00
|
|
|
users_sudoers_group: sudo
|
2015-05-28 11:32:57 +02:00
|
|
|
users_sudoers_create_group: False
|
|
|
|
users_sudoers_create_sudo_conf: False
|
|
|
|
users_home_dir: /home
|
2016-09-08 12:06:23 +02:00
|
|
|
users_default_password: '*'
|
|
|
|
users_update_password: 'on_create'
|
2015-05-28 11:32:57 +02:00
|
|
|
#users_system_users:
|
2016-09-08 12:06:23 +02:00
|
|
|
# - { login: 'foo', name: "Foo Bar", home: '{{ users_home_dir }}', createhome: 'yes', ssh_key: '{{ foo_ssh_key }}', shell: '/bin/bash', admin: False, log_as_root: False }
|
2015-05-28 11:32:57 +02:00
|
|
|
|