Post AOSJluIvz6WfvvIzGC by minervissa@cybre.space
(DIR) More posts by minervissa@cybre.space
(DIR) Post #AOSEeWUZcVVsHbPQPY by solidsanek@outerheaven.club
2022-10-11T10:09:14.690616Z
1 likes, 0 repeats
“When running fetch with become, the ansible.builtin.slurp module will also be used to fetch the contents of the file for determining the remote checksum. This effectively doubles the transfer size, and depending on the file size can consume all available memory on the remote or local hosts causing a MemoryError.”Another day another Ansible bug that is now a feature
(DIR) Post #AOSF2pGrS6yfTTaFlI by Johann150@genau.qwertqwefsday.eu
2022-10-11T10:12:04.664Z
0 likes, 0 repeats
@solidsanek@outerheaven.club :blobfoxcomfysip: slurp
(DIR) Post #AOSF2rfkWY4evFF9pg by solidsanek@outerheaven.club
2022-10-11T10:13:38.298997Z
0 likes, 0 repeats
@Johann150 :kannasip:
(DIR) Post #AOSGQMXY1aH7GtAxVo by vaartis@pl.kotobank.ch
2022-10-11T10:18:14.753659Z
0 likes, 0 repeats
@solidsanek @Johann150 the classic lisp name for reading files.. (though pretty sure this is about ansible)
(DIR) Post #AOSJluIvz6WfvvIzGC by minervissa@cybre.space
2022-10-11T10:15:47Z
0 likes, 0 repeats
@solidsanek so it fetches the file twice instead of just reusing the data in memory?
(DIR) Post #AOSJlwqKXuQbo4wgam by solidsanek@outerheaven.club
2022-10-11T11:06:33.719039Z
0 likes, 0 repeats
@minervissa I looked into it and it's weirder than I thought. Basically they assume they can't directly get the checksum of said file if you fetch a file as another user (which is common enough with Ansible) than the current one, and therefore get a checksum of it separately which is read & encoded into memory in the remote server which will then be fetched to the current server, which is where the (somewhat) doubled transfer size comes from