Skip to content

Commit 7f211b9

Browse files
committed
modify tasks name
Signed-off-by: ZouYuhua <yuhua.zou@broadcom.com>
1 parent 7994efb commit 7f211b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linux/vtpm_cold_add_remove/vtpm2_pcr_consistency_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Copyright 2026 VMware, Inc.
22
# SPDX-License-Identifier: BSD-2-Clause
33
---
4-
- name: "Set fact of the maximum vCPU number of hot add test"
4+
- name: "Set the vtpm_cpus and vtpm_cpu_cores_per_socket facts to their default values"
55
ansible.builtin.set_fact:
66
vtpm_cpus: "{{ (guest_config_options.rec_cpu_cores_per_socket | int * guest_config_options.rec_cpu_socket | int) | default(2) }}"
77
vtpm_cpu_cores_per_socket: "{{ guest_config_options.rec_cpu_cores_per_socket | default(1) }}"
88

99
- name: "Get CPU info"
1010
include_tasks: ../../common/vm_get_cpu_info.yml
1111

12-
- name: Set fact of the test cores per socket value
12+
- name: "Set the vtpm_num_cpus fact when the current CPU count and cores per socket match the default values"
1313
ansible.builtin.set_fact:
1414
vtpm_num_cpus: "{{ vtpm_cpus + vtpm_cpu_cores_per_socket }}"
1515
when:

0 commit comments

Comments
 (0)