The specific error on install is: libguestfs: error: appliance closed the connection
unexpectedly.\nThis usually means the libguestfs appliance crashed and the ansible setup
fails at injecting network config with guestfish.
The specific error form the install:
fatal: [localhost]: FAILED! => {"changed": true, "cmd":
["guestfish", "-a",
"/var/tmp/localvm4y8lnuwb/images/31647f4a-5dd8-4c24-9b36-82427e9f9d54/5445e40c-290f-4ea5-af25-9a86d3d72956",
"--rw", "-i", "copy-in",
"/var/tmp/localvm4y8lnuwb/ifcfg-eth0",
"/etc/sysconfig/network-scripts", ":", "selinux-relabel",
"/etc/selinux/targeted/contexts/files/file_contexts",
"/etc/sysconfig/network-scripts/ifcfg-eth0", "force:true"],
"delta": "0:00:03.911501", "end": "2021-12-31
20:51:38.551804", "msg": "non-zero return code", "rc":
1, "start":
"2021-12-31 20:51:34.640303", "stderr": "libguestfs: error:
appliance closed the connection unexpectedly.\nThis usually means the libguestfs
appliance
crashed.\nDo:\n export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1\nand run the command again.
For further information, read:\n
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\nYou can also run
'libguestfs-test-tool' and post the *complete* output\ninto a bug report or
message to the libguestfs mailing list.\nlibguestfs: error: guestfs_launch failed.\nThis
usually means the libguestfs appliance failed to start or crashed.\nDo:\n export
LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1\nand run the command again. For further
information, read:\n
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\nYou
can also run 'libguestfs-test-tool' and post
the *complete* output\ninto a bug report or message to the libguestfs mailing
list.",
"stderr_lines": ["libguestfs: error: appliance closed the connection
unexpectedly.", "This usually means the libguestfs appliance crashed.",
"Do:", " export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1", "and
run
the command again. For further information, read:", "
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs";, "You can also
run 'libguestfs-test-tool' and post the *complete* output", "into a bug
report or message to the libguestfs mailing list.", "libguestfs: error:
guestfs_launch failed.", "This usually means the libguestfs appliance failed to
start or crashed.", "Do:", " export LIBGUESTFS_DEBUG=1
LIBGUESTFS_TRACE=1", "and run the command again. For further information,
read:", "
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs";,
"You can also run 'libguestfs-test-tool' and post the *complete*
output", "into a bug report or message to the libguestfs mailing list."],
"stdout": "", "stdout_lines":