-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Execute the below task -
tasks:
- name: server power off
cisco_imc_server:
state: off
ip: '{{ imc_ip }}'
username: '{{ imc_username }}'
password: '{{ imc_password }}'
Observed below error -
ansible-playbook -i inventory create_config/test_create_server_actions.yml
PLAY [imc] **********************************************************************************************************************************************
TASK [Gathering Facts] **********************************************************************************************************************************
ok: [classic_imc16]
TASK [server power off] *********************************************************************************************************************************
fatal: [classic_imc16]: FAILED! => {"changed": false, "failed": true, "msg": "setup error: 'status' "}
to retry, use: --limit @/home/winadmin/test_playbooks_imc/create_config/test_create_server_actions.retry
PLAY RECAP **********************************************************************************************************************************************
classic_imc16 : ok=1 changed=0 unreachable=0 failed=1
Metadata
Metadata
Assignees
Labels
No labels