community.general.ipmi_power – Power management for machine¶
Note
This plugin is part of the community.general collection (version 1.3.6).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.ipmi_power
.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.6
pyghmi
Parameters¶
Examples¶
- name: Ensure machine is powered on
community.general.ipmi_power:
name: test.testdomain.com
user: admin
password: password
state: on
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
powerstate
string
|
success |
The current power state of the machine.
Sample:
True
|
Authors¶
Bulat Gaifullin (@bgaifullin) <gaifullinbf@gmail.com>