mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
with_items should not be used any more - using loop instead (#47364)
This commit is contained in:
parent
0957b37721
commit
1c8f5c7db5
4 changed files with 5 additions and 5 deletions
|
@ -58,7 +58,7 @@ EXAMPLES = r'''
|
|||
register: features_set
|
||||
- set_fact:
|
||||
ssbd : "{{ item.value }}"
|
||||
with_items: "{{ features_set.host_feature_facts[esxi_hostname] |json_query(name) }}"
|
||||
loop: "{{ features_set.host_feature_facts[esxi_hostname] |json_query(name) }}"
|
||||
vars:
|
||||
name: "[?key=='cpuid.SSBD']"
|
||||
- assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue