Rename azure_rm_virtualmachineimage_facts test.

This commit is contained in:
Matt Clay 2020-02-07 14:09:01 -08:00
parent 64567cf4f6
commit 415409c6e3
3 changed files with 8 additions and 8 deletions

View file

@ -3,7 +3,7 @@
location: eastus
- name: Get facts for a specific image
azure_rm_virtualmachineimage_facts:
azure_rm_virtualmachineimage_info:
location: "{{ location }}"
publisher: OpenLogic
offer: CentOS
@ -12,10 +12,10 @@
register: output
- assert:
that: azure_vmimages | length == 1
that: output['vmimages'] | length == 1
- name: List available versions
azure_rm_virtualmachineimage_facts:
azure_rm_virtualmachineimage_info:
location: "{{ location }}"
publisher: OpenLogic
offer: CentOS
@ -23,21 +23,21 @@
register: output
- assert:
that: azure_vmimages | length > 0
that: output['vmimages'] | length > 0
- name: List available offers
azure_rm_virtualmachineimage_facts:
azure_rm_virtualmachineimage_info:
location: "{{ location }}"
publisher: OpenLogic
register: output
- assert:
that: azure_vmimages | length > 0
that: output['vmimages'] | length > 0
- name: List available publishers
azure_rm_virtualmachineimage_facts:
azure_rm_virtualmachineimage_info:
location: "{{ location }}"
register: output
- assert:
that: azure_vmimages | length > 0
that: output['vmimages'] | length > 0