Easy Install Script Error on Debian 9.0 Minimal

I receive this error when I run easy install script (production). How i fix this.

TASK [swap : Set swapiness] ****************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “echo 1 | tee /proc/sys/vm/swappiness”, “delta”: “0:00:00.011257”, “end”: “2018-10-04 08:25:53.725785”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2018-10-04 08:25:53.714528”, “stderr”: “tee: /proc/sys/vm/swappiness: Permission denied”, “stderr_lines”: [“tee: /proc/sys/vm/swappiness: Permission denied”], “stdout”: “1”, “stdout_lines”: [“1”]}

RUNNING HANDLER [mariadb : restart mysql] **************************************
to retry, use: --limit @/tmp/.bench/playbooks/site.retry

PLAY RECAP *********************************************************************
localhost : ok=27 changed=17 unreachable=0 failed=1

Traceback (most recent call last):
File “install.py”, line 420, in
install_bench(args)
File “install.py”, line 122, in install_bench
run_playbook(‘site.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 338, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘site.yml’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frappe’]’ returned non-zero exit status 2

It looks like you don’t have a swapfile set up

Here is the problem. I am running Debian 9 on a VPS (OpenVZ). I cant have swappiness permission on this VPS. Is there anyway so script ignore the swappiness part.

Sorry, but i just don’t know a way around it. Maybe one of the other guys will be able to offer a solution

I removed the swappiness from these files

cd /tmp/.bench

grep -r “swapiness” /tmp/.bench

grep -r “swap on” /tmp/.bench

Now I am trying to re run installation where the error occured using
–limit @/tmp/.bench/playbooks/site.retry

But I am not sure how I use the --limit argument because install script doesnt recognize this.