1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Create main.yml

This commit is contained in:
Srujana-2000 2024-02-13 11:13:51 +05:30 committed by GitHub
parent fff2ab298b
commit 2e101c6590
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,14 @@
---
# 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: Getting Power State of Cray XD670 Server nodes
get_power_state:
category: Get_Power_State
command: Get_PS
baseuri: "{{ baseuri }}"
username: "{{ bmc_username }}"
password: "{{ bmc_password }}"
power_state: "{{ off }}"
output_file_name: "{{ output_file }}"