user_primary_group

Define the primary group of the user. User must already exist.

⚙️ Compatible targets: Linux

Parameters

NameDocumentation
loginUser's login.

This parameter is required.
primary_groupUser's primary group.

This parameter is required.

Example

method: user_primary_group
params:
  primary_group: VALUE
  login: VALUE

Documentation

This method does not create the user.