# Cannot use hpe.ilo ansible collection to configure HP ILO

**URL:** <https://forum.ansible.com/t/cannot-use-hpe-ilo-ansible-collection-to-configure-hp-ilo/9605>\
**Category:** Get Help\
**Tags:** collections, galaxy-ng\
**Created:** [October 1, 2024, 11:03am UTC](https://forum.ansible.com/t/cannot-use-hpe-ilo-ansible-collection-to-configure-hp-ilo/9605 "2024-10-01T11:03:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hassaan\_Akram](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/hassaan_akram/32/4925_2.png) [@Hassaan\_Akram](https://forum.ansible.com/u/Hassaan_Akram)\
**Post date:** [October 1, 2024, 11:03am UTC](https://forum.ansible.com/t/cannot-use-hpe-ilo-ansible-collection-to-configure-hp-ilo/9605/1 "2024-10-01T11:03:55Z")

</div>

Hello!  
I am trying to use the HPE.ILO collection from Ansible Galaxy to configure SNMPv3 on my HP ILO servers. I am using the following playbook code:

```auto
- hosts: servers
  vars:
    snmpv3_users:
      - security_name: "luser"
        auth_protocol: "MD5"
        auth_passphrase: "fdfdfd"
        privacy_protocol: "DES"
        privacy_passphrase: "fdsfdf"
    baseuri: x.x.x.x
    username: uname
    password: pwd
  roles:
      - create_snmpv3_users

```

However, the execution of playbook gets stuck at:

```auto
SSH: EXEC sshpass -d12 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'User="<>"' -o ConnectTimeout=10 -oKexAlgorithms=+diffie-hellman-group14-sha1 -oHostKeyAlgorithms=+ssh-dss -o 'ControlPath="/home/lab-actions/.ansible/cp/c897a"' IP '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo Tue Oct 1 10:42:45 2024/.ansible/tmp `"&& mkdir "` echo Tue Oct 1 10:42:45 2024/.ansible/tmp/ansible-tmp-177775 `" && echo ansible-tmp-17279005="` echo Tue Oct 1 10:42:45 2024/.ansible/tmp/ansible-tmp-17005`" ) && sleep 0'"'"''

```

After staying here for a few minutes, it fails with:

```auto
fatal: FAILED! => {"msg": "failed to resolve remote temporary directory from ansible-tmp-12345: `( umask 77 && mkdir -p \"` echo ~/.ansible/tmp/ansible-tmp-12345`\" && echo ansible-tmp-12345=\"` echo ~/.ansible/tmp/ansible-tmp-12345`\" )` returned empty string"}

```

The ILO User that I am trying to use has admin rights.

If anyone has used HPE ILO ansible collection then some leads will be appreciated.

Thank you!
