2.4 KiB
2.4 KiB
xoxys.users
Manage users and default bash environment.
Table of content
Requirements
- Minimum Ansible version:
2.10
Default Variables
users_bash_bashrc_overrides
Default value
users_bash_bashrc_overrides: []
Example usage
users_bash_bashrc_overrides:
- /etc/skel/.bashrc
- /root/.bashrc
users_default_groups
Default value
users_default_groups: []
users_default_inactive
Default value
users_default_inactive: -1
users_default_users
Default value
users_default_users: []
Example usage
users_default_users:
- name: admin
groups:
- wheel
password: "secure"
sshkeys: |
"ssh-ed25519 AAAA..."
shell: /bin/bash
users_global_bash_aliases
Default value
users_global_bash_aliases:
- alias: ll
command: ls -lh
- alias: la
command: ls -lha
users_global_umask
Default value
users_global_umask: '022'
users_pass_min_day
Default value
users_pass_min_day: 1
users_password_pam_minclass
Default value
users_password_pam_minclass: 4
users_password_pam_minlen
Default value
users_password_pam_minlen: 14
users_password_pam_retry
Default value
users_password_pam_retry: 3
Dependencies
None.
License
MIT