You can strace the ansible-inventory execution to check what libraries and syscalls are used:
$ strace ansible-inventory -i inventory/hosts --list 2>&1 | grep libya openat(AT_FDCWD, "/lib64/libyaml-0.so.2", O_RDONLY|O_CLOEXEC) = 3 $ rpm -qf /lib64/libyaml-0.so.2 libyaml-0.2.5-8.fc37.x86_64 On Tue, 3 Jan 2023 at 15:36, Michael DiDomenico <[email protected]> wrote: > it is installed. is there a way for me to confirm that ansible is > actually using it? > > $ rpm -qa | grep -i yaml > perl-CPAN-Meta-YAML-0.018-397.el8.noarch > python3-pyyaml-3.12-12.el8.x86_64 > libyaml-0.1.7-5.el8.x86_64 > > > On Sat, Dec 31, 2022 at 6:49 PM Brian Coca <[email protected]> wrote: > > > > Do you have libyaml installed? it is the C version of the YAML > > tokenizer, if not the processing will be done in python, which is much > > slower. The difference is not noticeable with small files, but it > > really becomes visible with large ones. > > > > > > -- > > ---------- > > Brian Coca > > > > -- > > You received this message because you are subscribed to the Google > Groups "Ansible Project" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CACVha7fT33czos32m%3DTVxzMpWMdg5M7EAnvf44oUuOwHV0VLUQ%40mail.gmail.com > . > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CABOsP2MUpfN_KoVqfTLr-hmTPTba%2BvLvR%3DwBJ6hVxcNgTNyAKw%40mail.gmail.com > . > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAKtKohR%2BBLLeJ8OoQk9gvJn-O%3D_JHJ9u%3DvtDi8wkedfLLHTmGg%40mail.gmail.com.
