Skip to content

linuxfabrik.lfops.ipasudocmd

Manage FreeIPA sudo command

Synopsis

  • Manage FreeIPA sudo command

Available since LFOps 6.0.0.

Mandatory Parameters

name

  • The sudo command
  • Type: List.

Optional Parameters

description

  • The command description
  • Type: String.

state

  • State to ensure
  • Type: String. One of present, absent.
  • Default: present

Examples

# Ensure sudocmd is present
- ipasudocmd:
    ipaadmin_password: SomeADMINpassword
    name: /usr/bin/su
    state: present

# Ensure sudocmd is absent
- ipasudocmd:
    ipaadmin_password: SomeADMINpassword
    name: /usr/bin/su
    state: absent

Authors

  • Rafael Guterres Jeffman (@rjeffman)
  • Thomas Woerner (@t-woerner)