ah, yes your right for some reason that didn't jump into my head. i
am in fact using libyaml
inventory-testing]$ strace ansible-inventory -i ./inv.py --list 1>a 2>&1
[inventory-testing]$ grep libyaml a
openat(AT_FDCWD, "/lib64/libyaml-0.so.2", O_RDONLY|O_CLOEXEC) = 3
i also found this interesting, seems excessive
[[inventory-testing]$ grep open a | sort | uniq -c | grep -v "^ [1-9]"
18591 openat(AT_FDCWD, "/home/user/.ansible/plugins/connection",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file
or directory)
111536 openat(AT_FDCWD, "/home/user/.ansible/plugins/vars",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file
or directory)
18590 openat(AT_FDCWD,
"/usr/lib/python3.6/site-packages/ansible/plugins/connection",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
18590 openat(AT_FDCWD,
"/usr/lib/python3.6/site-packages/ansible/plugins/connection/__pycache__",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
111535 openat(AT_FDCWD,
"/usr/lib/python3.6/site-packages/ansible/plugins/vars",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
111535 openat(AT_FDCWD,
"/usr/lib/python3.6/site-packages/ansible/plugins/vars/__pycache__",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
18591 openat(AT_FDCWD, "/usr/share/ansible/plugins/connection",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
111536 openat(AT_FDCWD, "/usr/share/ansible/plugins/vars",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
22 stat("/usr/lib64/python3.6/site-packages/cryptography/hazmat/backends/openssl",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> 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.