Documentation / Roles / System / users

users

Source Code Build Status License: MIT

Manage users and default bash environment.


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_umask

Default value

users_default_umask: '022'

users_default_users

Default value

users_default_users: []

Example usage

users_default_users:
  - name: admin
    groups:
      - wheel
    password: "secure"
    key: "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

Dependencies

None.