TASK [install pip modules] *****************************************************
fatal: [localhost]: FAILED! => changed=false
cmd:
- /usr/bin/pip3
- install
- netaddr
- pyvmomi
- docker
- requests
msg: |-
stdout: Collecting netaddr
Downloading https://files.pythonhosted.org/packages/ff/cd/9cdfea8fc45c56680b798db6a55fa60a22e2d3d3ccf54fc729d083b50ce4/netaddr-0.8.0-py2.py3-none-any.whl (1.9MB)
Collecting pyvmomi
Downloading https://files.pythonhosted.org/packages/ba/69/4e8bfd6b0aae49382e1ab9e3ce7de9ea6318eac007b3076e6006dbe5a7cd/pyvmomi-7.0.1.tar.gz (584kB)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'setuptools'
----------------------------------------
:stderr: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-1dmbsd8u/pyvmomi/
PLAY RECAP *********************************************************************
localhost : ok=8 changed=3 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
TASK [docker-install : Install docker-compose] *********************************
fatal: [localhost]: FAILED! => changed=true
cmd:
- pip3
- install
- docker-compose
delta: '0:00:05.654953'
end: '2021-02-12 04:57:05.483047'
msg: non-zero return code
rc: 1
start: '2021-02-12 04:56:59.828094'
stderr: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-koscktxg/cryptography/
stderr_lines: <omitted>
stdout: |-
Collecting docker-compose
Downloading https://files.pythonhosted.org/packages/74/63/8593580d950bad554e631f60c7d09e9de684b9cb7128d0cc53aa8dccbc42/docker_compose-1.28.2-py2.py3-none-any.whl (114kB)
Collecting docker[ssh]<5,>=4.4.0 (from docker-compose)
Using cached https://files.pythonhosted.org/packages/9f/a5/eec74d8d1016e6c2042ba31ca6fba3bba520e27d8a061e82bccd36bd64ef/docker-4.4.1-py2.py3-none-any.whl
Collecting distro<2,>=1.5.0 (from docker-compose)
Downloading https://files.pythonhosted.org/packages/25/b7/b3c4270a11414cb22c6352ebc7a83aaa3712043be29daa05018fd5a5c956/distro-1.5.0-py2.py3-none-any.whl
Collecting docopt<1,>=0.6.1 (from docker-compose)
Downloading https://files.pythonhosted.org/packages/a2/55/8f8cab2afd404cf578136ef2cc5dfb50baa1761b68c9da1fb1e4eed343c9/docopt-0.6.2.tar.gz
Requirement already satisfied: jsonschema<4,>=2.5.1 in /usr/lib/python3/dist-packages (from docker-compose)
Collecting dockerpty<1,>=0.4.1 (from docker-compose)
Downloading https://files.pythonhosted.org/packages/8d/ee/e9ecce4c32204a6738e0a5d5883d3413794d7498fe8b06f44becc028d3ba/dockerpty-0.4.1.tar.gz
Collecting python-dotenv<1,>=0.13.0 (from docker-compose)
Downloading https://files.pythonhosted.org/packages/32/2e/e4585559237787966aad0f8fd0fc31df1c4c9eb0e62de458c5b6cde954eb/python_dotenv-0.15.0-py2.py3-none-any.whl
Requirement already satisfied: websocket-client<1,>=0.32.0 in /usr/local/lib/python3.6/dist-packages (from docker-compose)
Collecting texttable<2,>=0.9.0 (from docker-compose)
Downloading https://files.pythonhosted.org/packages/06/f5/46201c428aebe0eecfa83df66bf3e6caa29659dbac5a56ddfd83cae0d4a4/texttable-1.6.3-py2.py3-none-any.whl
Collecting cached-property<2,>=1.2.0 (from docker-compose)
Downloading https://files.pythonhosted.org/packages/48/19/f2090f7dad41e225c7f2326e4cfe6fff49e57dedb5b53636c9551f86b069/cached_property-1.5.2-py2.py3-none-any.whl
Requirement already satisfied: PyYAML<6,>=3.10 in /usr/lib/python3/dist-packages (from docker-compose)
Collecting requests<3,>=2.20.0 (from docker-compose)
Using cached https://files.pythonhosted.org/packages/29/c1/24814557f1d22c56d50280771a17307e6bf87b70727d975fd6b2ce6b014a/requests-2.25.1-py2.py3-none-any.whl
Requirement already satisfied: six>=1.4.0 in /usr/lib/python3/dist-packages (from docker[ssh]<5,>=4.4.0->docker-compose)
Collecting paramiko>=2.4.2; extra == "ssh" (from docker[ssh]<5,>=4.4.0->docker-compose)
Downloading https://files.pythonhosted.org/packages/95/19/124e9287b43e6ff3ebb9cdea3e5e8e88475a873c05ccdf8b7e20d2c4201e/paramiko-2.7.2-py2.py3-none-any.whl (206kB)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests<3,>=2.20.0->docker-compose)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests<3,>=2.20.0->docker-compose)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests<3,>=2.20.0->docker-compose)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3/dist-packages (from requests<3,>=2.20.0->docker-compose)
Collecting bcrypt>=3.1.3 (from paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=4.4.0->docker-compose)
Downloading https://files.pythonhosted.org/packages/52/a7/51ab6481ac355517696477889d8ab232106a0ddadda642c54e47a2ab40b9/bcrypt-3.2.0-cp36-abi3-manylinux1_x86_64.whl (63kB)
Collecting cryptography>=2.5 (from paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=4.4.0->docker-compose)
Downloading https://files.pythonhosted.org/packages/27/5a/007acee0243186123a55423d49cbb5c15cb02d76dd1b6a27659a894b13a2/cryptography-3.4.4.tar.gz (545kB)
Complete output from command python setup.py egg_info:
=============================DEBUG ASSISTANCE==========================
If you are seeing an error here please try the following to
successfully install cryptography:
Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
=============================DEBUG ASSISTANCE==========================
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-koscktxg/cryptography/setup.py", line 14, in <module>
from setuptools_rust import RustExtension
ModuleNotFoundError: No module named 'setuptools_rust'
----------------------------------------
stdout_lines: <omitted>
PLAY RECAP *********************************************************************
localhost : ok=16 changed=9 unreachable=0 failed=1 skipped=12 rescued=0 ignored=0