Vagrant requires ansible to provision, but ansible is not installed in the default pipenv. This makes it a bit confusing as to why vagrant fails with
default: Running ansible-playbook...
Traceback (most recent call last):
File "/xxx/ansible-playbook", line 34, in <module>
from ansible import context
ModuleNotFoundError: No module named 'ansible'
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
If there is a downside to adding it to pipenv then the alternative here is to note the requirement in the playbook readme.
Add ansible to the pipenv dev-dependencies
Vagrant requires ansible to provision, but ansible is not installed in the default pipenv. This makes it a bit confusing as to why vagrant fails with
If there is a downside to adding it to pipenv then the alternative here is to note the requirement in the playbook readme.