cloudera.exe.prereq_local_account role – Set up local user accounts

Note

This role is part of the cloudera.exe collection (version 3.0.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install cloudera.exe..

To use it in a playbook, specify: cloudera.exe.prereq_local_account.

Entry point main – Set up local user accounts

New in cloudera.exe 3.0.0

Synopsis

  • Set up local user accounts and create the user’s HOME directory.

Parameters

Parameter

Comments

local_accounts

list / elements=dictionary

A list of user accounts.

Default: []

comment

string

Comments for the user account entry.

extra_groups

list / elements=string

Additional groups to assign (append) to the user account.

home

path / required

User account HOME directory.

mode

string

Permissions for user account HOME directory.

Default: "0755"

shell

string

User account SHELL.

Default: "/sbin/nologin"

uid

integer

User account UID.

user

string / required

User account name.

Authors

  • Cloudera Labs