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:
Fedor V
2019-03-13 07:19:20 +03:00
committed by Abhijeet Kasurde
parent 66fe6bfa0b
commit 8ac6145180
2 changed files with 38 additions and 3 deletions

View File

@@ -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: