fix(system_check): add become: false to delegated vmware/xen existence checks

This commit is contained in:
2026-03-12 02:14:17 +01:00
parent 7a60d73a20
commit 06ba5469b2

View File

@@ -66,6 +66,7 @@
- name: Check VM existence in vCenter
when: hypervisor_type == "vmware"
delegate_to: localhost
become: false
module_defaults:
community.vmware.vmware_guest_info:
hostname: "{{ hypervisor_cfg.url }}"
@@ -106,6 +107,7 @@
- name: Check if VM already exists on Xen
when: hypervisor_type == "xen"
delegate_to: localhost
become: false
ansible.builtin.command:
argv:
- xl