Ошибка запуска vagrant

При попытке запустить vagrant выдает вот такую ошибку. Пытался обновить ansible начиная с 2.8 версии и заканчивая 2.9x.

В зависимостях:

  • Ubuntu: 18.04
  • VirtualBox: 6.0.24
  • node.js 14.16.0
  • vagrant: 2.2.6
  • composer: 1.6

Так же, там есть еще trellis, bedrock, но не скажу что к чему, как и по wp

По требованиям необходимо запускать с ansible 2.7.0.

MODULE FAILURE
See stdout/stderr for the exact error
<stdin>:17: DeprecationWarning: the imp module is deprecated in favour of
importlib; see the module's documentation for alternative uses
Traceback (most recent call last):
  File "/tmp/ansible_user_payload_qb4hxd35/ansible_user_payload.zip/ansible/m
odule_utils/basic.py", line 278, in get_distribution
AttributeError: module 'platform' has no attribute '_supported_dists'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 113, in <module>
  File "<stdin>", line 105, in _ansiballz_main
  File "<stdin>", line 48, in invoke_module
  File "/usr/lib/python3.8/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "/usr/lib/python3.8/imp.py", line 169, in load_source
    module = _exec(spec, sys.modules[name])
  File "<frozen importlib._bootstrap>", line 604, in _exec
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
  File "/tmp/ansible_user_payload_qb4hxd35/__main__.py", line 2542, in
<module>
  File "/tmp/ansible_user_payload_qb4hxd35/__main__.py", line 2447, in main
  File "/tmp/ansible_user_payload_qb4hxd35/__main__.py", line 391, in __new__
  File "/tmp/ansible_user_payload_qb4hxd35/ansible_user_payload.zip/ansible/m
odule_utils/basic.py", line 336, in load_platform_subclass
  File "/tmp/ansible_user_payload_qb4hxd35/ansible_user_payload.zip/ansible/m
odule_utils/basic.py", line 288, in get_distribution
AttributeError: module 'platform' has no attribute 'dist'

fatal: [default]: FAILED! => {"changed": false, "module_stdout": "", "rc": 1}
    to retry, use: --limit @/home/alexander/Develop/Primary/trellis/dev.retry

PLAY RECAP *********************************************************************
default                    : ok=10   changed=1    unreachable=0    failed=1   

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Ответы (0 шт):