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.

Outcome conditions

You need to replace ${login} with its actual canonified value.

  • ✅ Ok: user_primary_group_${login}_ok
    • ☑️ Already compliant: user_primary_group_${login}_kept
    • 🟨 Repaired: user_primary_group_${login}_repaired
  • ❌ Error: user_primary_group_${login}_error

Example

method: user_primary_group
params:
  login: VALUE
  primary_group: VALUE

Documentation

This method does not create the user.