Can't install using Easy Install

Hit:1 Index of /ubuntu-mirror/ubuntu/ bionic InRelease
Hit:2 Index of /ubuntu-mirror/ubuntu/ bionic-updates InRelease
Hit:3 Index of /ubuntu-mirror/ubuntu/ bionic-backports InRelease
Hit:4 http://ams2.mirrors.digitalocean.com/mariadb/repo/10.2/ubuntu bionic InRelease
Hit:5 Index of /ubuntu-mirror/ubuntu/ bionic-security InRelease
Hit:6 https://dl.yarnpkg.com/debian stable InRelease
Hit:7 https://deb.nodesource.com/node_8.x bionic InRelease
Reading package lists…
Reading package lists…
Building dependency tree…
Reading state information…
build-essential is already the newest version (12.4ubuntu1).
libffi-dev is already the newest version (3.2.1-8).
python3-setuptools is already the newest version (39.0.1-2).
git is already the newest version (1:2.17.1-1ubuntu0.5).
python3-dev is already the newest version (3.6.7-1~18.04).
The following packages were automatically installed and are no longer required:
libc-ares2 libhttp-parser2.7.1 libuv1 nodejs-doc
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Requirement already up-to-date: setuptools in /usr/local/lib/python3.6/dist-packages (45.1.0)
Requirement already up-to-date: cryptography in /usr/local/lib/python3.6/dist-packages (2.8)
Requirement already up-to-date: ansible==2.8.5 in /usr/local/lib/python3.6/dist-packages (2.8.5)
Requirement already up-to-date: pip in /usr/local/lib/python3.6/dist-packages (19.3.1)
Requirement already satisfied, skipping upgrade: cffi!=1.11.3,>=1.8 in /usr/local/lib/python3.6/dist-packages (from cryptography) (1.13.2)
Requirement already satisfied, skipping upgrade: six>=1.4.1 in /usr/local/lib/python3.6/dist-packages (from cryptography) (1.14.0)
Requirement already satisfied, skipping upgrade: PyYAML in /usr/local/lib/python3.6/dist-packages (from ansible==2.8.5) (5.3)
Requirement already satisfied, skipping upgrade: jinja2 in /usr/local/lib/python3.6/dist-packages (from ansible==2.8.5) (2.10.3)
Requirement already satisfied, skipping upgrade: pycparser in /usr/local/lib/python3.6/dist-packages (from cffi!=1.11.3,>=1.8->cryptography) (2.19)
Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in /usr/local/lib/python3.6/dist-packages (from jinja2->ansible==2.8.5) (1.1.1)
ansible-playbook 2.8.5
config file = /etc/ansible/ansible.cfg
configured module search path = [‘/home/lok/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’]
ansible python module location = /usr/local/lib/python3.6/dist-packages/ansible
executable location = /usr/local/bin/ansible-playbook
python version = 3.6.9 (default, Nov 7 2019, 10:44:02) [GCC 8.3.0]
Using /etc/ansible/ansible.cfg as config file
setting up inventory plugins
host_list declined parsing /etc/ansible/hosts as it did not pass it’s verify_file() method
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
Parsed /etc/ansible/hosts inventory source with ini plugin
Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python3.6/dist-packages/ansible/plugins/callback/default.py
PLAYBOOK: create_user.yml ******************************************************
Positional arguments: create_user.yml
verbosity: 4
connection: local
timeout: 10
become_method: sudo
tags: (‘all’,)
inventory: (‘/etc/ansible/hosts’,)
extra_vars: (‘@/tmp/extra_vars.json’,)
forks: 5
1 plays in create_user.yml
PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
task path: /tmp/.bench/playbooks/create_user.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/ansible-tmp-1579549420.0523088-278571856230062” && echo ansible-tmp-1579549420.0523088-278571856230062=“echo /root/.ansible/tmp/ansible-tmp-1579549420.0523088-278571856230062” ) && sleep 0’
Using module file /usr/local/lib/python3.6/dist-packages/ansible/modules/system/setup.py
<127.0.0.1> PUT /home/lok/.ansible/tmp/ansible-local-11054yevdgopw/tmp646nwejb TO /root/.ansible/tmp/ansible-tmp-1579549420.0523088-278571856230062/AnsiballZ_setup.py
<127.0.0.1> EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1579549420.0523088-278571856230062/ /root/.ansible/tmp/ansible-tmp-1579549420.0523088-278571856230062/AnsiballZ_setup.py && sleep 0’
<127.0.0.1> EXEC /bin/sh -c ‘/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1579549420.0523088-278571856230062/AnsiballZ_setup.py && sleep 0’
<127.0.0.1> EXEC /bin/sh -c ‘rm -f -r /root/.ansible/tmp/ansible-tmp-1579549420.0523088-278571856230062/ > /dev/null 2>&1 && sleep 0’
ok: [localhost]
META: ran handlers
TASK [Create user] *************************************************************
task path: /tmp/.bench/playbooks/create_user.yml:5
<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/ansible-tmp-1579549421.1984594-199563565291835” && echo ansible-tmp-1579549421.1984594-199563565291835=“echo /root/.ansible/tmp/ansible-tmp-1579549421.1984594-199563565291835” ) && sleep 0’
Using module file /usr/local/lib/python3.6/dist-packages/ansible/modules/system/user.py
<127.0.0.1> PUT /home/lok/.ansible/tmp/ansible-local-11054yevdgopw/tmpwzcdt94q TO /root/.ansible/tmp/ansible-tmp-1579549421.1984594-199563565291835/AnsiballZ_user.py
<127.0.0.1> EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1579549421.1984594-199563565291835/ /root/.ansible/tmp/ansible-tmp-1579549421.1984594-199563565291835/AnsiballZ_user.py && sleep 0’
<127.0.0.1> EXEC /bin/sh -c ‘/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1579549421.1984594-199563565291835/AnsiballZ_user.py && sleep 0’
<127.0.0.1> EXEC /bin/sh -c ‘rm -f -r /root/.ansible/tmp/ansible-tmp-1579549421.1984594-199563565291835/ > /dev/null 2>&1 && sleep 0’
ok: [localhost] => {
“append”: false,
“changed”: false,
“comment”: “lok,”,
“group”: 1001,
“home”: “/home/lok”,
“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”: “lok”,
“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 abc-comp”,
“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”: “lok”,
“shell”: “/bin/bash”,
“ssh_fingerprint”: “2048 SHA256:/HK/fhNOh2PQuFNYft1L9VUmlRW3nF8KyZKd5YRTwKA ansible-generated on abc-comp (RSA)”,
“ssh_key_file”: “/home/lok/.ssh/id_rsa”,
“ssh_public_key”: “ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVck42sAmxWXhymcz+xzmcBfEATg9PVpxmhQ+q+fUPpCmL5srmA2ypVd7rdoBiZixDAoZS1/LkAuEJRSHoXvsWQ/1oBAbjwnEAsuUlSMqisM+7fpXqIaXoDKnK4QvCKVqKbSZ/HxL0629wzV6l0eC/J7Bs+OS0hnnWtuMIDQovAl2ZuXEKcxahNoMXFNFPKTnKSeoKzvlhFv0Owqy+oj3/628b4iq/i7ooh6Yxbgd5ZMaGVtAHAE5CwOx07BfcbjPNADxH/nLQBl6GPPBw5VBR6L5oIlDi/UsZkdgvQYNQobP4ed2B8RU/Vg6f9hG+0GWcsTkfiRFuUmwJPB3L1dGn ansible-generated on abc-comp”,
“state”: “present”,
“uid”: 1001
}
TASK [Set home folder perms] ***************************************************
task path: /tmp/.bench/playbooks/create_user.yml:10
<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/ansible-tmp-1579549421.6771917-263496074128424” && echo ansible-tmp-1579549421.6771917-263496074128424=“echo /root/.ansible/tmp/ansible-tmp-1579549421.6771917-263496074128424” ) && sleep 0’
Using module file /usr/local/lib/python3.6/dist-packages/ansible/modules/files/file.py
<127.0.0.1> PUT /home/lok/.ansible/tmp/ansible-local-11054yevdgopw/tmpxb4cwijp TO /root/.ansible/tmp/ansible-tmp-1579549421.6771917-263496074128424/AnsiballZ_file.py
<127.0.0.1> EXEC /bin/sh -c ‘chmod u+x /root/.ansible/tmp/ansible-tmp-1579549421.6771917-263496074128424/ /root/.ansible/tmp/ansible-tmp-1579549421.6771917-263496074128424/AnsiballZ_file.py && sleep 0’
<127.0.0.1> EXEC /bin/sh -c ‘/usr/bin/python3 /root/.ansible/tmp/ansible-tmp-1579549421.6771917-263496074128424/AnsiballZ_file.py && sleep 0’
<127.0.0.1> EXEC /bin/sh -c ‘rm -f -r /root/.ansible/tmp/ansible-tmp-1579549421.6771917-263496074128424/ > /dev/null 2>&1 && sleep 0’
The full traceback is:
File “/tmp/ansible_file_payload_q16jco4n/ansible_file_payload.zip/ansible/module_utils/basic.py”, line 1007, in set_owner_if_different
os.lchown(b_path, uid, -1)
fatal: [localhost]: FAILED! => {
“changed”: false,
“gid”: 0,
“group”: “root”,
“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”: “lok”,
“mode”: “o+rx”,
“modification_time”: null,
“modification_time_format”: “%Y%m%d%H%M.%S”,
“owner”: “lok”,
“path”: “/home/lok”,
“recurse”: true,
“regexp”: null,
“remote_src”: null,
“selevel”: null,
“serole”: null,
“setype”: null,
“seuser”: null,
“src”: null,
“state”: “directory”,
“unsafe_writes”: null
}
},
“mode”: “0500”,
“msg”: “chown failed: [Errno 38] Function not implemented: b’/home/lok/.gvfs’”,
“owner”: “root”,
“path”: “/home/lok/.gvfs”,
“size”: 0,
“state”: “directory”,
“uid”: 0
}
PLAY RECAP *********************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Install script run at 19:43 on 2020-01-20

check out redis status, if not running, it aborts the installation
disable IPv6 and install redis and make sure it is running before you run install script again.

Seems like your script is failing during TASK [Set home folder perms]. Can you manually create user and then run the script for that user? Does that work?