mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
Adding CheckiLORebootStatus functionality to ilo_redfish_command (#6115)
* Adding CheckiLORebootStatus functionality to ilo_redfish_command * PR fix * Update plugins/modules/ilo_redfish_command.py Agreed Co-authored-by: Felix Fontein <felix@fontein.de> * sanity fix * Changed command to WaitforiLORebootCompletion * PR comment fix * Update plugins/modules/ilo_redfish_command.py Agreed Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/ilo_redfish_command.py Agreed Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/ilo_redfish_command.py Agreed Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/ilo_redfish_command.py Agreed Co-authored-by: Felix Fontein <felix@fontein.de> * Updating documentation based on PR comment * Adding tests and updating task name in module --------- Co-authored-by: Kushal <t-s.kushal@hpe.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
42bc2cb4d8
commit
f95b8ab9cd
5 changed files with 270 additions and 1 deletions
5
tests/integration/targets/ilo_redfish_command/aliases
Normal file
5
tests/integration/targets/ilo_redfish_command/aliases
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Copyright (c) Ansible Project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
unsupported
|
12
tests/integration/targets/ilo_redfish_command/tasks/main.yml
Normal file
12
tests/integration/targets/ilo_redfish_command/tasks/main.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
# Copyright (c) Ansible Project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
- name: Wait for iLO Reboot Completion
|
||||
community.general.ilo_redfish_command:
|
||||
category: Systems
|
||||
command: WaitforiLORebootCompletion
|
||||
baseuri: "{{ baseuri }}"
|
||||
username: "{{ username }}"
|
||||
password: "{{ password }}"
|
Loading…
Add table
Add a link
Reference in a new issue