Hi,
I’m trying to understand the documentation for the easy install:
https://askubuntu.com/q/1292384/847449
Do I need to pass parameters to the script? I just want to use it locally.
I’m getting a lengthy error, but the short version is:
nicholas@mordor:~/erp$
nicholas@mordor:~/erp$ sudo python3 install.py
[sudo] password for nicholas:
Logs are saved under /tmp/logs/easy-install__2020-11-14__20-21.log
curl already installed!
wget already installed!
git already installed!
pip3 already installed!
pip3 already installed!
Checking System Compatibility...
ubuntu 20 is compatible!
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
Traceback (most recent call last):
File "install.py", line 472, in <module>
install_bench(args)
File "install.py", line 234, in install_bench
run_playbook('create_user.yml', extra_vars=extra_vars)
File "install.py", line 388, in run_playbook
success = subprocess.check_call(args, cwd=playbooks_folder, stdout=log_stream, stderr=sys.stderr)
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'create_user.yml', '-vvvv', '-e', '@/tmp/extra_vars.json']' returned non-zero exit status 2.
nicholas@mordor:~/erp$
what’s the approach to run this correctly?