Jeff Geerling

Results 1854 comments of Jeff Geerling

The problem of pyyaml not using the libyaml bindings may be an upstream issue with running Ansible/PyYAML/Python on ARM: https://github.com/yaml/pyyaml/issues/445

All right, I discovered the root cause of the pyyaml installation difference was a wheel built by piwheels that lacks support for libyaml and bypasses setup.py install running. There's an...

Ugh, I'm realizing all my Ansible Docker image builds need to be updated to install `libyaml-devel` / `libyaml-dev`, as I never had done that before 2.10 came out. They are...

I'm on a new M1 Mac, and trying to install Ansible in any way that gets libyaml support, but I seem to keep failing (see point 2 here: https://github.com/geerlingguy/mac-dev-playbook/issues/100#issuecomment-848390871). Here's...

Finally figured out the issue—had to clear out some `$PATH` settings that were still causing Ansible to be installed using system Python instead of the version of Python I installed...

I wrote up my findings over on my blog: [Ansible might be running slow if libyaml is not available](https://www.jeffgeerling.com/blog/2021/ansible-might-be-running-slow-if-libyaml-not-available). (Basically summarizing all the comments for Pi and macOS from above.)

@sivel - I think somewhere @gundalow had mentioned we don't really have any documentation about this anywhere; to help people not think Ansible is just slow by default, it might...

@arsenicks - Ansible 2.9 should not have this issue (AFAICT)—it's only 2.10 and newer (and by extension, Ansible 3.0.0 and newer).

Came here after https://github.com/geerlingguy/ansible-role-jenkins/pull/362 — will try the `.asc` trick. Edit - it works! Was not obvious from the given example that I needed to change the file extension, though....

@bcoca - I still enjoy the simplicity of the apt_key module, and would be happier if I could keep that abstraction. Though changing the behavior and/or detecting when to change...