Installation not in the default home folder on Centos

Hi there,
I have successfully installed the last version of ERPNext using the installation script on a Centos Server (CentOS Linux release 7.6.1810):

My user has the home folder in /var/www/erp, but the installation has been done in /home/erp

to install ERPNext I used these commands:

wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py

sudo python install.py --production --site test.local --user erp --verbose

Everything fine except the place where installed everything.

I didn’t see any option in install.py file in order to setup a different install folder.

It exists any option or any other way to install it in the proper location?
Could be enough to move the frappe-bench folder and .bench folder in the right home?

Further info:
my defaults are:

sudo useradd -D
GROUP=100
HOME=/var/www
INACTIVE=-1
EXPIRE=
SHELL=/bin/zsh
SKEL=/etc/skel
CREATE_MAIL_SPOOL=yes

using /var/www will result in nightmarish permissions problems. I recommend using the default $HOME location of /home/USER/

https://github.com/frappe/bench/blob/master/playbooks/create_user.yml

I found the solution there.

The ansible script is “hard linking” to the default home folder and doesn’t check if the system is set up differently.
In my case, having all the ansible script in .bench/playbooks folder, I modified and installed another bench to test.