# error using copy module in conjunction with become and with\_items

**URL:** <https://forum.ansible.com/t/error-using-copy-module-in-conjunction-with-become-and-with-items/20244>\
**Category:** Ansible Project\
**Created:** [January 17, 2016, 6:02pm UTC](https://forum.ansible.com/t/error-using-copy-module-in-conjunction-with-become-and-with-items/20244 "2016-01-17T18:02:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![R.B\_Boyer](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@R.B\_Boyer](https://forum.ansible.com/u/R.B_Boyer)\
**Post date:** [January 17, 2016, 6:02pm UTC](https://forum.ansible.com/t/error-using-copy-module-in-conjunction-with-become-and-with-items/20244/1 "2016-01-17T18:02:36Z")

</div>

This is the error:

`  
fatal: [localhost]: FAILED! =\> {“failed”: true, “msg”: “ERROR! privilege output closed while waiting for password prompt:\nBECOME-SUCCESS-adezzvrxzmmrvcjmhockfqrcaofjafii\nd463cad77a9f7ca30d2eee449d151ffec7209a6b\n”}

`

Relevant file snippets to reproduce:  
`

# ansible.cfg

[defaults]  
hostfile = ./hosts  
retry\_files\_enabled = False

#./hosts  
[local]  
localhost ansible\_connection=local

#test-priv-fails.yml
