# Failed escalation timeout on first inventory hosts on pwsh

**URL:** <https://forum.ansible.com/t/failed-escalation-timeout-on-first-inventory-hosts-on-pwsh/35573>\
**Category:** Ansible Project\
**Created:** [August 2, 2021, 6:13am UTC](https://forum.ansible.com/t/failed-escalation-timeout-on-first-inventory-hosts-on-pwsh/35573 "2021-08-02T06:13:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gernel\_Rodavia](https://avatars.discourse-cdn.com/v4/letter/g/c4cdca/32.png) [@Gernel\_Rodavia](https://forum.ansible.com/u/Gernel_Rodavia)\
**Post date:** [August 2, 2021, 6:13am UTC](https://forum.ansible.com/t/failed-escalation-timeout-on-first-inventory-hosts-on-pwsh/35573/1 "2021-08-02T06:13:16Z")

</div>

Hi,

Does anyone encounter this type of error whenever try to use the powercli. it only fails on the first inventory hosts and after that the next inventory hosts will success.

- name: Create a new Snapshot  
shell: |  
Connect-VIServer -Server -user {{ vmuser }} -password {{ vmpassword }} | Out-Null  
New-Snapshot {{ ansible\_hostname|lower }} -name description   
args:  
executable: /usr/bin/pwsh  
register: pwsh\_out  
delegate\_to: “{{ ansibleServer }}”

tags: snapshot

ERROR RESULT

{  
“msg”: "Timeout (12s) waiting for privilege escalation prompt: ",  
“\_ansible\_no\_log”: false  
}
