mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
vmware_vm_facts: custom attributes support (#45773)
* Add toggle to attribute facts gathering Signed-off-by: Fedor V <f.vompe@comptek.ru> Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
Abhijeet Kasurde
parent
66fe6bfa0b
commit
8ac6145180
@@ -1,5 +1,6 @@
|
||||
# Test code for the vmware_vm_facts module
|
||||
# Copyright: (c) 2017, Abhijeet Kasurde <akasurde@redhat.com>
|
||||
# Copyright, (c) 2018, Fedor Vompe <f.vompe@comptek.ru>
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
- name: Wait for Flask controller to come up online
|
||||
@@ -68,6 +69,7 @@
|
||||
- "item.power_state is defined"
|
||||
- "item.uuid is defined"
|
||||
- "item.vm_network is defined"
|
||||
- "item.attributes is defined"
|
||||
with_items:
|
||||
- "{{ vm_facts_0001.virtual_machines | json_query(query) }}"
|
||||
vars:
|
||||
|
||||
Reference in New Issue
Block a user