Skip to content

Task running 'cisco_imc_server' module throws error #18

@tanmayx

Description

@tanmayx

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions