@Nikunj_Patel
I’ve lanched the installation as verbose and maked again installation with different username
Here the complete log (i had to remove initial part due limitation of the reply character space)
TASK [Create user] *****************************************************************************************************
task path: /tmp/.bench/bench/playbooks/create_user.yml:7
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1618568860.670085-730-57053080077521 && echo ansible-tmp-1618568860.670085-730-57053080077521="` echo /root/.ansible/tmp/ansible-tmp-1618568860.670085-730-57053080077521 `" ) && sleep 0'
Using module file /usr/local/lib/python3.8/dist-packages/ansible/modules/system/user.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-6228vgx985g/tmpq_2kv7ir TO /root/.ansible/tmp/ansible-tmp-1618568860.670085-730-57053080077521/AnsiballZ_user.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1618568860.670085-730-57053080077521/ /root/.ansible/tmp/ansible-tmp-1618568860.670085-730-57053080077521/AnsiballZ_user.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1618568860.670085-730-57053080077521/AnsiballZ_user.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1618568860.670085-730-57053080077521/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"append": false,
"changed": false,
"comment": ",,,",
"group": 1002,
"home": "/home/erpuser",
"invocation": {
"module_args": {
"append": false,
"authorization": null,
"comment": null,
"create_home": true,
"expires": null,
"force": false,
"generate_ssh_key": true,
"group": null,
"groups": null,
"hidden": null,
"home": null,
"local": null,
"login_class": null,
"move_home": false,
"name": "erpuser",
"non_unique": false,
"password": null,
"password_lock": null,
"profile": null,
"remove": false,
"role": null,
"seuser": null,
"shell": null,
"skeleton": null,
"ssh_key_bits": 0,
"ssh_key_comment": "ansible-generated on DESKTOP-HTVK6TE",
"ssh_key_file": null,
"ssh_key_passphrase": null,
"ssh_key_type": "rsa",
"state": "present",
"system": false,
"uid": null,
"update_password": "always"
}
},
"move_home": false,
"name": "erpuser",
"shell": "/usr/bin/bash",
"ssh_fingerprint": "3072 SHA256:JS1idyhAe0SAutVkp4EJtv63pC4gyIwK3Ld0e8aw/i4 ansible-generated on DESKTOP-HTVK6TE (RSA)",
"ssh_key_file": "/home/erpuser/.ssh/id_rsa",
"ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCufMBQJAVluT00i2mNdsY62Gy7nUKv+vftrD+z9XhbEFxyjnJ0GpxyzFs2Rk+ctY5OVYS6SOPgZDWmWTsKhGUK+9E1Xl7d5zddrwEUdsfJVLf3yFW4chGqVF5pK0LSeqPWd4ErSzfThAHiG4MD+Y6zlf0eIGoSlAQtR5lXqKi6fnuWjcD3lj2L8id0Gn9e81A+sbpZval5Mr6pUUP8rYmavouz2132HapiELpJ8uogGk8iU2M9jDfD71xNCqJ7di4ZIKpz39FjYaGij3TkdY7/2tqvY7B6xAKaZVs/h2kjgR6Vq2JdV+fdd89pKpZPXxaudfHNRFH49wpQmdTFDzFsV7q9EW48kt1/DVMhD6q1FscrZ4rI3z9+yaDz+hzespBbvr+yNncH5Cx2xbffi4kd/Hv6BzHtkGQuX7RMhHHD7+UjxoyeFw/rlgCBZqkgTjSaXz8hdYxJ2K8hGlQTqzZ8Y7MbCIClRuzt90o8QwY0kydgIJGdS5wqr/358oIQv8E= ansible-generated on DESKTOP-HTVK6TE",
"state": "present",
"uid": 1002
}
TASK [Set home folder perms] *******************************************************************************************
task path: /tmp/.bench/bench/playbooks/create_user.yml:12
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1618568861.1370845-758-178887914403604 && echo ansible-tmp-1618568861.1370845-758-178887914403604="` echo /root/.ansible/tmp/ansible-tmp-1618568861.1370845-758-178887914403604 `" ) && sleep 0'
Using module file /usr/local/lib/python3.8/dist-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-6228vgx985g/tmpav013puf TO /root/.ansible/tmp/ansible-tmp-1618568861.1370845-758-178887914403604/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1618568861.1370845-758-178887914403604/ /root/.ansible/tmp/ansible-tmp-1618568861.1370845-758-178887914403604/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1618568861.1370845-758-178887914403604/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1618568861.1370845-758-178887914403604/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"diff": {
"after": {
"path": "/home/erpuser"
},
"before": {
"path": "/home/erpuser"
}
},
"gid": 1002,
"group": "erpuser",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": "erpuser",
"mode": "o+rx",
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": "erpuser",
"path": "/home/erpuser",
"recurse": true,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"mode": "0755",
"owner": "erpuser",
"path": "/home/erpuser",
"size": 4096,
"state": "directory",
"uid": 1002
}
TASK [Set /tmp/.bench folder perms] ************************************************************************************
task path: /tmp/.bench/bench/playbooks/create_user.yml:20
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1618568861.5241907-784-30969913869510 && echo ansible-tmp-1618568861.5241907-784-30969913869510="` echo /root/.ansible/tmp/ansible-tmp-1618568861.5241907-784-30969913869510 `" ) && sleep 0'
Using module file /usr/local/lib/python3.8/dist-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-6228vgx985g/tmpvjxhgd9z TO /root/.ansible/tmp/ansible-tmp-1618568861.5241907-784-30969913869510/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1618568861.5241907-784-30969913869510/ /root/.ansible/tmp/ansible-tmp-1618568861.5241907-784-30969913869510/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1618568861.5241907-784-30969913869510/AnsiballZ_file.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1618568861.5241907-784-30969913869510/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"diff": {
"after": {
"path": "/tmp/.bench"
},
"before": {
"path": "/tmp/.bench"
}
},
"gid": 1002,
"group": "erpuser",
"invocation": {
"module_args": {
"_diff_peek": null,
"_original_basename": null,
"access_time": null,
"access_time_format": "%Y%m%d%H%M.%S",
"attributes": null,
"backup": null,
"content": null,
"delimiter": null,
"directory_mode": null,
"follow": true,
"force": false,
"group": "erpuser",
"mode": null,
"modification_time": null,
"modification_time_format": "%Y%m%d%H%M.%S",
"owner": "erpuser",
"path": "/tmp/.bench",
"recurse": true,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null
}
},
"mode": "0755",
"owner": "erpuser",
"path": "/tmp/.bench",
"size": 4096,
"state": "directory",
"uid": 1002
}
TASK [Change default shell to bash] ************************************************************************************
task path: /tmp/.bench/bench/playbooks/create_user.yml:27
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1618568861.822526-810-178651747013152 && echo ansible-tmp-1618568861.822526-810-178651747013152="` echo /root/.ansible/tmp/ansible-tmp-1618568861.822526-810-178651747013152 `" ) && sleep 0'
Using module file /usr/local/lib/python3.8/dist-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-6228vgx985g/tmpb68qtksa TO /root/.ansible/tmp/ansible-tmp-1618568861.822526-810-178651747013152/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1618568861.822526-810-178651747013152/ /root/.ansible/tmp/ansible-tmp-1618568861.822526-810-178651747013152/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1618568861.822526-810-178651747013152/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1618568861.822526-810-178651747013152/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"cmd": "chsh erpuser -s $(which bash)",
"delta": "0:00:00.032339",
"end": "2021-04-16 12:27:42.147259",
"invocation": {
"module_args": {
"_raw_params": "chsh erpuser -s $(which bash)",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"rc": 0,
"start": "2021-04-16 12:27:42.114920",
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
META: ran handlers
META: ran handlers
PLAY RECAP *************************************************************************************************************
localhost : ok=5 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Input MySQL and Frappe Administrator passwords:
Passwords saved at ~/passwords.txt
Initializing bench frappe-bench:
Frappe Branch: version-12
ERPNext Branch: version-12
ansible-playbook 2.8.20
config file = None
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.8/dist-packages/ansible
executable location = /usr/local/bin/ansible-playbook
python version = 3.8.5 (default, Jan 27 2021, 15:41:15) [GCC 9.3.0]
No config file found; using defaults
setting up inventory plugins
host_list declined parsing /etc/ansible/hosts as it did not pass it's verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
script declined parsing /etc/ansible/hosts as it did not pass it's verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass it's verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
yaml declined parsing /etc/ansible/hosts as it did not pass it's verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
ini declined parsing /etc/ansible/hosts as it did not pass it's verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
toml declined parsing /etc/ansible/hosts as it did not pass it's verify_file() method
[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'
statically imported: /tmp/.bench/bench/playbooks/roles/mariadb/tasks/centos.yml
statically imported: /tmp/.bench/bench/playbooks/roles/mariadb/tasks/ubuntu-trusty.yml
statically imported: /tmp/.bench/bench/playbooks/roles/mariadb/tasks/ubuntu-xenial_bionic.yml
Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.8/dist-packages/ansible/plugins/callback/default.py
PLAYBOOK: site.yml *****************************************************************************************************
Positional arguments: site.yml
verbosity: 4
connection: local
timeout: 10
become: True
become_method: sudo
become_user: erpuser
tags: ('all',)
inventory: ('/etc/ansible/hosts',)
extra_vars: ('@/tmp/extra_vars.json',)
forks: 5
2 plays in site.yml
PLAY [localhost] *******************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************
task path: /tmp/.bench/bench/playbooks/site.yml:4
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1618568863.1860757-849-32637732877595 && echo ansible-tmp-1618568863.1860757-849-32637732877595="` echo /root/.ansible/tmp/ansible-tmp-1618568863.1860757-849-32637732877595 `" ) && sleep 0'
Using module file /usr/local/lib/python3.8/dist-packages/ansible/modules/system/setup.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-8456m1tsiul/tmpt069xvpt TO /root/.ansible/tmp/ansible-tmp-1618568863.1860757-849-32637732877595/AnsiballZ_setup.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1618568863.1860757-849-32637732877595/ /root/.ansible/tmp/ansible-tmp-1618568863.1860757-849-32637732877595/AnsiballZ_setup.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1618568863.1860757-849-32637732877595/AnsiballZ_setup.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1618568863.1860757-849-32637732877595/ > /dev/null 2>&1 && sleep 0'
ok: [localhost]
META: ran handlers
TASK [common : include_tasks] ******************************************************************************************
task path: /tmp/.bench/bench/playbooks/roles/common/tasks/main.yml:4
included: /tmp/.bench/bench/playbooks/roles/common/tasks/debian_family.yml for localhost
TASK [common : Install prerequisites using apt-get] ********************************************************************
task path: /tmp/.bench/bench/playbooks/roles/common/tasks/debian_family.yml:3
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1618568864.8589525-955-94683159051879 && echo ansible-tmp-1618568864.8589525-955-94683159051879="` echo /root/.ansible/tmp/ansible-tmp-1618568864.8589525-955-94683159051879 `" ) && sleep 0'
Using module file /usr/local/lib/python3.8/dist-packages/ansible/modules/packaging/os/apt.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-8456m1tsiul/tmpk046gwfy TO /root/.ansible/tmp/ansible-tmp-1618568864.8589525-955-94683159051879/AnsiballZ_apt.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1618568864.8589525-955-94683159051879/ /root/.ansible/tmp/ansible-tmp-1618568864.8589525-955-94683159051879/AnsiballZ_apt.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1618568864.8589525-955-94683159051879/AnsiballZ_apt.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1618568864.8589525-955-94683159051879/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"cache_update_time": 1618568850,
"cache_updated": false,
"changed": false,
"invocation": {
"module_args": {
"allow_unauthenticated": false,
"autoclean": false,
"autoremove": false,
"cache_valid_time": 0,
"deb": null,
"default_release": null,
"dpkg_options": "force-confdef,force-confold",
"force": true,
"force_apt_get": false,
"install_recommends": null,
"only_upgrade": false,
"package": [
"dnsmasq",
"fontconfig",
"git",
"htop",
"libcrypto++-dev",
"libfreetype6-dev",
"liblcms2-dev",
"libwebp-dev",
"libxext6",
"libxrender1",
"libxslt1-dev",
"libxslt1.1",
"libffi-dev",
"ntp",
"postfix",
"python3-dev",
"python-tk",
"screen",
"vim",
"xfonts-75dpi",
"xfonts-base",
"zlib1g-dev",
"apt-transport-https",
"libsasl2-dev",
"libldap2-dev",
"libcups2-dev",
"pv"
],
"pkg": [
"dnsmasq",
"fontconfig",
"git",
"htop",
"libcrypto++-dev",
"libfreetype6-dev",
"liblcms2-dev",
"libwebp-dev",
"libxext6",
"libxrender1",
"libxslt1-dev",
"libxslt1.1",
"libffi-dev",
"ntp",
"postfix",
"python3-dev",
"python-tk",
"screen",
"vim",
"xfonts-75dpi",
"xfonts-base",
"zlib1g-dev",
"apt-transport-https",
"libsasl2-dev",
"libldap2-dev",
"libcups2-dev",
"pv"
],
"policy_rc_d": null,
"purge": false,
"state": "present",
"update_cache": null,
"upgrade": null
}
}
}
TASK [common : include_tasks] ******************************************************************************************
task path: /tmp/.bench/bench/playbooks/roles/common/tasks/debian_family.yml:38
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [common : include_tasks] ******************************************************************************************
task path: /tmp/.bench/bench/playbooks/roles/common/tasks/debian_family.yml:41
included: /tmp/.bench/bench/playbooks/roles/common/tasks/ubuntu.yml for localhost
TASK [common : install pillow prerequisites for Ubuntu < 14.04] ********************************************************
task path: /tmp/.bench/bench/playbooks/roles/common/tasks/ubuntu.yml:3
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [common : install pillow prerequisites for Ubuntu >= 14.04] *******************************************************
task path: /tmp/.bench/bench/playbooks/roles/common/tasks/ubuntu.yml:14
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1618568866.1582403-992-220782343264762 && echo ansible-tmp-1618568866.1582403-992-220782343264762="` echo /root/.ansible/tmp/ansible-tmp-1618568866.1582403-992-220782343264762 `" ) && sleep 0'
Using module file /usr/local/lib/python3.8/dist-packages/ansible/modules/packaging/os/apt.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-8456m1tsiul/tmp97udzwc_ TO /root/.ansible/tmp/ansible-tmp-1618568866.1582403-992-220782343264762/AnsiballZ_apt.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1618568866.1582403-992-220782343264762/ /root/.ansible/tmp/ansible-tmp-1618568866.1582403-992-220782343264762/AnsiballZ_apt.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1618568866.1582403-992-220782343264762/AnsiballZ_apt.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1618568866.1582403-992-220782343264762/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"cache_update_time": 1618568850,
"cache_updated": false,
"changed": false,
"invocation": {
"module_args": {
"allow_unauthenticated": false,
"autoclean": false,
"autoremove": false,
"cache_valid_time": 0,
"deb": null,
"default_release": null,
"dpkg_options": "force-confdef,force-confold",
"force": true,
"force_apt_get": false,
"install_recommends": null,
"only_upgrade": false,
"package": [
"libjpeg8-dev",
"libtiff5-dev",
"tcl8.6-dev",
"tk8.6-dev"
],
"pkg": [
"libjpeg8-dev",
"libtiff5-dev",
"tcl8.6-dev",
"tk8.6-dev"
],
"policy_rc_d": null,
"purge": false,
"state": "present",
"update_cache": null,
"upgrade": null
}
}
}
TASK [common : install pdf prerequisites for Ubuntu < 18.04] ***********************************************************
task path: /tmp/.bench/bench/playbooks/roles/common/tasks/ubuntu.yml:25
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [common : install pdf prerequisites for Ubuntu >= 18.04] **********************************************************
task path: /tmp/.bench/bench/playbooks/roles/common/tasks/ubuntu.yml:33
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1618568867.149341-1025-105335266971742 && echo ansible-tmp-1618568867.149341-1025-105335266971742="` echo /root/.ansible/tmp/ansible-tmp-1618568867.149341-1025-105335266971742 `" ) && sleep 0'
Using module file /usr/local/lib/python3.8/dist-packages/ansible/modules/packaging/os/apt.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-8456m1tsiul/tmp4zwm8d7k TO /root/.ansible/tmp/ansible-tmp-1618568867.149341-1025-105335266971742/AnsiballZ_apt.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1618568867.149341-1025-105335266971742/ /root/.ansible/tmp/ansible-tmp-1618568867.149341-1025-105335266971742/AnsiballZ_apt.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1618568867.149341-1025-105335266971742/AnsiballZ_apt.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1618568867.149341-1025-105335266971742/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"cache_update_time": 1618568850,
"cache_updated": false,
"changed": false,
"invocation": {
"module_args": {
"allow_unauthenticated": false,
"autoclean": false,
"autoremove": false,
"cache_valid_time": 0,
"deb": null,
"default_release": null,
"dpkg_options": "force-confdef,force-confold",
"force": true,
"force_apt_get": false,
"install_recommends": null,
"only_upgrade": false,
"package": [
"libssl1.1"
],
"pkg": [
"libssl1.1"
],
"policy_rc_d": null,
"purge": false,
"state": "present",
"update_cache": null,
"upgrade": null
}
}
}
TASK [common : include_tasks] ******************************************************************************************
task path: /tmp/.bench/bench/playbooks/roles/common/tasks/main.yml:7
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [locale : Check current locale] ***********************************************************************************
task path: /tmp/.bench/bench/playbooks/roles/locale/tasks/main.yml:2
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir /root/.ansible/tmp/ansible-tmp-1618568868.1509638-1058-236315416933827 && echo ansible-tmp-1618568868.1509638-1058-236315416933827="` echo /root/.ansible/tmp/ansible-tmp-1618568868.1509638-1058-236315416933827 `" ) && sleep 0'
Using module file /usr/local/lib/python3.8/dist-packages/ansible/modules/commands/command.py
<127.0.0.1> PUT /root/.ansible/tmp/ansible-local-8456m1tsiul/tmpv52rgfum TO /root/.ansible/tmp/ansible-tmp-1618568868.1509638-1058-236315416933827/AnsiballZ_command.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1618568868.1509638-1058-236315416933827/ /root/.ansible/tmp/ansible-tmp-1618568868.1509638-1058-236315416933827/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1618568868.1509638-1058-236315416933827/AnsiballZ_command.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1618568868.1509638-1058-236315416933827/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": "localectl",
"delta": "0:00:00.024092",
"end": "2021-04-16 12:27:48.507740",
"invocation": {
"module_args": {
"_raw_params": "localectl",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2021-04-16 12:27:48.483648",
"stderr": "\u001b[0;1;31mSystem has not been booted with systemd as init system (PID 1). Can't operate.\u001b[0m\n\u001b[0;1;31mFailed to create bus connection: Host is down\u001b[0m",
"stderr_lines": [
"\u001b[0;1;31mSystem has not been booted with systemd as init system (PID 1). Can't operate.\u001b[0m",
"\u001b[0;1;31mFailed to create bus connection: Host is down\u001b[0m"
],
"stdout": "",
"stdout_lines": []
}
PLAY RECAP *************************************************************************************************************
localhost : ok=6 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0
Traceback (most recent call last):
File "install.py", line 498, in <module>
install_bench(args)
File "install.py", line 279, in install_bench
run_playbook('site.yml', sudo=True, extra_vars=extra_vars)
File "install.py", line 414, 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', 'site.yml', '-vvvv', '-e', '@/tmp/extra_vars.json', '--become', '--become-user=erpuser']' returned non-zero exit status 2.