Re: [PATCH] guestfs: port status script to Ansible with libvirt URI fix
Luis Chamberlain <[email protected]>
| Newsgroups | dev.linux.lists.kdevops |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Sep 17, 2025 at 10:49:31AM +0200, Daniel Gomez wrote: > From: Daniel Gomez <[email protected]> > > Convert scripts/status_guestfs.sh shell script to Ansible implementation > in playbooks/roles/guestfs/tasks/status/main.yml. The new implementation: > > - Uses proper libvirt_uri variable for LIBVIRT_DEFAULT_URI > - Integrates with DIY callback to show command output > - Provides idempotent Ansible approach with tagging support > - Fixes missing libvirt URI context that caused empty virsh output > > Update scripts/guestfs.Makefile to call ansible-playbook with --tags status > instead of the shell script. Add missing output yaml to LIBVIRT_URI_PATH > for proper URI variable generation. > > Generated-by: Claude AI > Signed-off-by: Daniel Gomez <[email protected]> Thanks! Applied and pushed! Luis