mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
[PR #6115/f95b8ab9 backport][stable-6] Adding CheckiLORebootStatus functionality to ilo_redfish_command (#6339)
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>
(cherry picked from commit f95b8ab9cd)
Co-authored-by: TSKushal <44438079+TSKushal@users.noreply.github.com>
This commit is contained in:
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 }}"
|
||||
Reference in New Issue
Block a user