fix(vmware): set vmware_tools connection vars and fix role param precedence

This commit is contained in:
2026-03-12 02:30:03 +01:00
committed by MORAWSKI Norbert
parent b224f0780e
commit a6300a5467
2 changed files with 6 additions and 2 deletions

View File

@@ -85,3 +85,8 @@
when: hypervisor_type == "vmware"
ansible.builtin.set_fact:
ansible_connection: vmware_tools
ansible_vmware_host: "{{ hypervisor_cfg.url }}"
ansible_vmware_port: 443
ansible_vmware_tools_user: root
ansible_vmware_tools_password: "{{ system_cfg.root.password }}"
no_log: true