I am getting the below error message in ansible-playook:

ansible-playbook

TASK [openwisp.openwisp2 : Remove jsonfield2] 
*******************************************************************************************************************************************
FAILED - RETRYING: Remove jsonfield2 (2 retries left).
FAILED - RETRYING: Remove jsonfield2 (1 retries left).
fatal: [myhostname]: FAILED! => {"attempts": 2, "changed": false, "msg": 
"Failed to find required executable virtualenv in paths: 
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"}

RUNNING HANDLER [Stouts.postfix : postfix restart] 
**************************************************************************************************************************************

RUNNING HANDLER [openwisp.openwisp2 : start redis] 
**************************************************************************************************************************************

PLAY RECAP 
******************************************************************************************************************************************************************************
[myhostname]           : ok=21   changed=5    unreachable=0    failed=1    
skipped=25   rescued=0    ignored=1 


in log file(/var/log/messages)
Sep  1 13:22:36 myhostname ansible-pip: Invoked with 
virtualenv=/opt/openwisp2/env virtualenv_site_packages=True 
virtualenv_command=virtualenv chdir=None requirements=None 
name=['jsonfield2'] virtualenv_python=python3 editable=False umask=None 
executable=None extra_args=None state=absent version=None
Sep  1 13:22:51 myhostname ansible-pip: message repeated 2 times: [ Invoked 
with virtualenv=/opt/openwisp2/env virtualenv_site_packages=True 
virtualenv_command=virtualenv chdir=None requirements=None 
name=['jsonfield2'] virtualenv_python=python3 editable=False umask=None 
executable=None extra_args=None state=absent version=None]

myhostname:/etc# cat /etc/issue
Ubuntu 18.04.5 LTS \n \l

myhostname:/etc# cat /etc/issue.net 
Ubuntu 18.04.5 LTS
myhostname:/etc# 

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/f559275c-8974-419c-8f0f-8f3e59a0e3a5n%40googlegroups.com.

Reply via email to