# issues with tasks after upgrade

**URL:** <https://forum.ansible.com/t/issues-with-tasks-after-upgrade/29727>\
**Category:** Ansible Project\
**Tags:** awx\
**Created:** [February 21, 2019, 12:31am UTC](https://forum.ansible.com/t/issues-with-tasks-after-upgrade/29727 "2019-02-21T00:31:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank\_Dias](https://avatars.discourse-cdn.com/v4/letter/f/eada6e/32.png) [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Post date:** [February 21, 2019, 12:31am UTC](https://forum.ansible.com/t/issues-with-tasks-after-upgrade/29727/1 "2019-02-21T00:31:20Z")

</div>

Work task before upgrade:

TASK [config-seeding : Clean build directory] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py  
\<127.0.0.1\> ESTABLISH LOCAL CONNECTION FOR USER: awx  
\<127.0.0.1\> EXEC /bin/sh -c ‘echo ~ && sleep 0’  
\<127.0.0.1\> EXEC /bin/sh -c ‘( umask 77 && mkdir -p " `echo /var/lib/awx/.ansible/tmp/ansible-tmp-1550518656.25-107290640962743` " && echo ansible-tmp-1550518656.25-107290640962743=" `echo /var/lib/awx/.ansible/tmp/ansible-tmp-1550518656.25-107290640962743` " ) && sleep 0’  
\<127.0.0.1\> PUT /tmp/tmpva01gk TO /var/lib/awx/.ansible/tmp/ansible-tmp-1550518656.25-107290640962743/file.py  
\<127.0.0.1\> EXEC /bin/sh -c ‘chmod u+x /var/lib/awx/.ansible/tmp/ansible-tmp-1550518656.25-107290640962743/ /var/lib/awx/.ansible/tmp/ansible-tmp-1550518656.25-107290640962743/file.py && sleep 0’  
\<127.0.0.1\> EXEC /bin/sh -c ‘/usr/bin/python2 /var/lib/awx/.ansible/tmp/ansible-tmp-1550518656.25-107290640962743/file.py; rm -rf “/var/lib/awx/.ansible/tmp/ansible-tmp-1550518656.25-107290640962743/” \> /dev/null 2\>&1 && sleep 0’  
changed: [localhost]  
META: ran handlers

failed  
TASK [config-seeding : Clean build directory] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
\<127.0.0.1\> ESTABLISH LOCAL CONNECTION FOR USER: awx  
\<127.0.0.1\> EXEC /bin/sh -c ‘echo ~awx && sleep 0’  
\<127.0.0.1\> EXEC /bin/sh -c ‘( umask 77 && mkdir -p " `echo /var/lib/awx/.ansible/tmp/ansible-tmp-1550685564.21-49495796014029` " && echo ansible-tmp-1550685564.21-49495796014029=" `echo /var/lib/awx/.ansible/tmp/ansible-tmp-1550685564.21-49495796014029` " ) && sleep 0’  
Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py  
\<127.0.0.1\> PUT /var/lib/awx/.ansible/tmp/ansible-local-4464sAQz1X/tmp7OWQ36 TO /var/lib/awx/.ansible/tmp/ansible-tmp-1550685564.21-49495796014029/AnsiballZ\_file.py  
\<127.0.0.1\> EXEC /bin/sh -c ‘chmod u+x /var/lib/awx/.ansible/tmp/ansible-tmp-1550685564.21-49495796014029/ /var/lib/awx/.ansible/tmp/ansible-tmp-1550685564.21-49495796014029/AnsiballZ\_file.py && sleep 0’  
\<127.0.0.1\> EXEC /bin/sh -c ‘/usr/bin/python2 /var/lib/awx/.ansible/tmp/ansible-tmp-1550685564.21-49495796014029/AnsiballZ\_file.py && sleep 0’  
\<127.0.0.1\> EXEC /bin/sh -c ‘rm -f -r /var/lib/awx/.ansible/tmp/ansible-tmp-1550685564.21-49495796014029/ \> /dev/null 2\>&1 && sleep 0’  
fatal: [localhost]: FAILED! =\> {“changed”: false, “msg”: “rmtree failed: [Errno 13] Permission denied: ‘./target/seeding/consoleutility/modules’”} (edited)

they add awx /bin/sh -c 'echo ~awx && sleep 0  
they changed command from rm -rf EXEC /bin/sh -c 'rm -f -r  
they split the exec on file from one step to two steps
