From 076dce1d90ccd5cab5cfbc4df0fb774f6d8330ef Mon Sep 17 00:00:00 2001 From: Allar Viik Date: Sun, 18 Feb 2024 12:17:31 +0200 Subject: [PATCH] Only Updating VMTools when infra env is vSphere in `template_os_configuration` role --- nova/core/roles/template_os_configuration/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/nova/core/roles/template_os_configuration/tasks/main.yml b/nova/core/roles/template_os_configuration/tasks/main.yml index 6dbc71d2..3cbb97f4 100644 --- a/nova/core/roles/template_os_configuration/tasks/main.yml +++ b/nova/core/roles/template_os_configuration/tasks/main.yml @@ -2,6 +2,7 @@ - name: Including VMTools role... ansible.builtin.include_role: name: nova.core.vcenter_vmtools_policy + when: infra_env == "vsphere" - name: Including updates role... ansible.builtin.include_role: