Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.
Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.
While trying to install Headwind Remote, I'm getting errors:
[WARNING]: Skipping plugin (/usr/lib/python3/dist-packages/ansible/plugins/filter/core.py) as it seems to be invalid: cannotimport name 'environmentfilter' from 'jinja2.filters'(/usr/local/lib/python3.8/dist-packages/jinja2/filters.py)[WARNING]: Skipping plugin (/usr/lib/python3/dist-packages/ansible/plugins/filter/mathstuff.py) as it seems to be invalid: cannotimport name 'environmentfilter' from 'jinja2.filters'(/usr/local/lib/python3.8/dist-packages/jinja2/filters.py)
[WARNING]: Skipping plugin (/usr/lib/python3/dist-
packages/ansible/plugins/filter/core.py) as it seems to be invalid: cannot
import name 'environmentfilter' from 'jinja2.filters'
(/usr/local/lib/python3.8/dist-packages/jinja2/filters.py)
packages/ansible/plugins/filter/mathstuff.py) as it seems to be invalid: cannot
TASK [Process Nginx configuration] *********************************************fatal: [localhost]: FAILED! => {"msg": "template error while templating string: No filter named 'regex_replace'.. String: ./dist/conf/nginx/{{ item | basename | regex_replace('\\\\.j2$', '') }}"}
The problem is in one of the Python modules (jinja2).
The issue can be fixed by the following commands:
pip uninstall jinja2pip install jinja2==3.0.3
pip uninstall jinja2
pip install jinja2==3.0.3
After that, re-run the installer and it should work without issues.