Users Guide
Table Of Contents
- Dell EMC OpenManage Ansible Modules Version 4.0.0 User’s Guide
- Contents
- Overview
- Getting Started
- Modules for iDRAC
- How OpenManage Ansible Modules work with iDRAC
- Running your first iDRAC Playbook
- Updating Firmware
- Configuring PowerEdge Servers
- Deploying operating system
- Server Inventory
- Server administration tasks
- Storage controller
- Modules for OpenManage Enterprise (OME)
- How OpenManage Ansible Modules work with OME
- Running your first OME Playbook
- Manage Devices
- Manage device configuration templates
- Template Service
- Manage the device firmware
- Manage jobs
- Manage users
- Manage identity pool
- Manage application settings
- Manage network configuration
- Manage fabrics
- Manage Profiles
- Device discovery
- Manage Chassis
- Manage Active Directory service and user groups
- Diagnostics
- Modules for Redfish APIs
- Deprecated modules
dellemc.openmanage.ome_user_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
account_id: 1
- name: Get filtered user info based on user name
dellemc.openmanage.ome_user_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
system query options:
filter: "Username eq 'test'"
Configure user accounts
Module: ome_user
Synopsis
This module:
● creates a new user account.
● modifies or deletes an existing user account.
Options
Table 42. ome_user
Parameter Required Default Choices Comments
hostname Yes NA NA Target IP Address or hostname
username Yes NA NA Target username
password Yes NA NA Target user password
port No 443 NA Target device HTTPS port
state No present
● present
● absent
● C(present) creates a user in case the I(UserName)
provided inside I(attributes) does not exist .
● C(present) modifies a user in case the I(UserName)
provided inside I(attributes) exists .
● C(absent) deletes an existing user.
user_id No NA NA
● ID of the user to be deleted.
● Either I (user_id) or I (name) is mandatory for C
(absent) operation.
name No NA NA
● Name of the user to be deleted
● Either I (user_id) or I (name) is mandatory for C
(absent) operation.
attributes No { } NA
Payload data for the user operations. It can take the
following attributes for C(present):
● UserTypeId
● DirectoryServiceId
● Description
● Name
● Password
● UserName
● RoleId
● Locked
● Enabled
106 Modules for OpenManage Enterprise (OME)