Users Guide

Examples
- name: Power state operation based on device id.
ome_powerstate:
hostname: "192.168.0.1"
username: "username"
password: "password"
device_id: 11111
power_state: "off"
- name: Power state operation based on device service tag.
ome_powerstate:
hostname: "192.168.0.1"
username: "username"
password: "password"
device_service_tag: "KLBR111"
power_state: "on"
- 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
Configure user accounts
View user account details
Module: ome_user_info
Synopsis
This module retrieves the list and basic details of all user accounts or details of a specific user account.
Options
Table 71. ome_user_info
Parameter Required Default Choices Comments
hostname Yes NA NA
Target IP Address or
hostname
username Yes NA NA Target username
94 Modules for OpenManage Enterprise (OME)