I have recently updated the Dockerfile to install libyaml-devel, but it seems like Ansible might still be using Python-based yaml parsing, judging by lackluster performance (see https://github.com/ansible/ansible/issues/72030), as well as the fact that python3 -c 'import _yaml' gives:
root@93e95ea9dc5a:/# python3 -c 'import _yaml'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named '_yaml'
I have recently updated the Dockerfile to install
libyaml-devel
, but it seems like Ansible might still be using Python-based yaml parsing, judging by lackluster performance (see https://github.com/ansible/ansible/issues/72030), as well as the fact thatpython3 -c 'import _yaml'
gives:See commit: https://github.com/geerlingguy/docker-ubuntu2004-ansible/commit/921d425198b76cfcaa9f015f5adeae086edb54c8