Hi,
I followed instruction till step 3 on the below link
and then switched from step 4 to use easy install script
and i got this error at swap space, could someone please help me…
PLAY [localhost] *******************************************************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************************************************************
ok: [localhost]
PLAY [Setup prerequisites] *********************************************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************************************************************
ok: [localhost]
TASK [Install yum packages] ********************************************************************************************************************************************
changed: [localhost] => (item=[u'bzip2-devel', u'cronie', u'dnsmasq', u'freetype-devel', u'git', u'htop', u'lcms2-devel', u'libjpeg-devel', u'libtiff-devel', u'libffi-devel', u'libwebp-devel', u'libXext', u'libXrender', u'libzip-devel', u'libffi-devel', u'ntp', u'openssl-devel', u'postfix', u'python-devel', u'python-setuptools', u'python-pip', u'redis', u'screen', u'sudo', u'tcl-devel', u'tk-devel', u'vim', u'which', u'xorg-x11-fonts-75dpi', u'xorg-x11-fonts-Type1', u'zlib-devel', u'openssl-devel', u'openldap-devel'])
TASK [Install apt packages] ********************************************************************************************************************************************
skipping: [localhost] => (item=[])
TASK [install pillow prerequisites for Ubuntu < 14.04] *****************************************************************************************************************
skipping: [localhost] => (item=[])
TASK [install pillow prerequisites for Ubuntu >= 14.04] ****************************************************************************************************************
skipping: [localhost] => (item=[])
TASK [Setup OpenSSL dependancy] ****************************************************************************************************************************************
skipping: [localhost]
TASK [install pillow prerequisites for Debian < 8] *********************************************************************************************************************
skipping: [localhost] => (item=[])
TASK [install pillow prerequisites for Debian >= 8] ********************************************************************************************************************
skipping: [localhost] => (item=[])
TASK [install prequisites for macos] ***********************************************************************************************************************************
skipping: [localhost] => (item=[])
PLAY [Apply basic roles, mariadb, wkhtmltopdf, nodejs, nginx, fail2ban and psutil] *************************************************************************************
TASK [Gathering Facts] *************************************************************************************************************************************************
ok: [localhost]
TASK [locale : Check current locale] ***********************************************************************************************************************************
skipping: [localhost]
TASK [locale : Set Locale] *********************************************************************************************************************************************
[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: (ansible_distribution == 'Centos' or ansible_distribution ==
'Ubuntu') and locale_test.stdout.find('LANG={{ locale_lang }}') == -1
skipping: [localhost]
TASK [locale : Set keymap] *********************************************************************************************************************************************
[WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: (ansible_distribution == 'Centos' or ansible_distribution ==
'Ubuntu') and locale_test.stdout.find('Keymap: {{locale_keymap}}') == -1
skipping: [localhost]
TASK [locale : Set Locale as en_US] ************************************************************************************************************************************
changed: [localhost] => (item=LC_ALL=en_US.UTF-8)
changed: [localhost] => (item=LC_CTYPE=en_US.UTF-8)
changed: [localhost] => (item=LANG=en_US.UTF-8)
TASK [swap : Create swap space] ****************************************************************************************************************************************
changed: [localhost]
TASK [swap : Make swap] ************************************************************************************************************************************************
changed: [localhost]
TASK [swap : Add to fstab] *********************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Destination /etc/fstab does not exist !", "rc": 257}
to retry, use: --limit @/tmp/.bench/playbooks/production/install.retry
PLAY RECAP *************************************************************************************************************************************************************
localhost : ok=7 changed=4 unreachable=0 failed=1
Traceback (most recent call last):
File "install.py", line 386, in <module>
install_bench(args)
File "install.py", line 112, in install_bench
run_playbook('production/install.yml', sudo=True, extra_vars=extra_vars)
File "install.py", line 324, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, 'playbooks'))
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'production/install.yml', '-e', '@/tmp/extra_vars.json', '--become', '--become-user=frappe']' returned non-zero exit status 2