Users Guide

- name: Power state operation based on list of device ids.
ome_powerstate:
hostname: "192.168.0.1"
username: "username"
password: "password"
device_id: "{{ item.device_id }}"
power_state: "{{ item.state }}"
with_items:
- { "device_id": 11111, "state": "on" }
- { "device_id": 22222, "state": "off" }
- name: Power state operation based on list of device service tags.
ome_powerstate:
hostname: "192.168.0.1"
username: "username"
password: "password"
device_service_tag: "{{ item.service_tag }}"
power_state: "{{ item.state }}"
with_items:
- { "service_tag": "KLBR111", "state": "on" }
- { "service_tag": "KLBR222", "state": "off" }
Manage users
The following tasks are responsible for managing user accounts:
View user account details
Congure user accounts
View user account details
Module: dellemc_ome_user_facts
Synopsis
This module retrieves the list and basic details of all user accounts or details of a specic user account.
Options
Table 58. dellemc_ome_user_facts
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
account_id No NA NA Unique ID of the account
Return Values
msg:
type: str
description: Over all status of fetching user facts.
returned: on error
sample: "Failed to fetch the user facts"
ansible_facts:
66
Modules for OpenManage Enterprise (OME)