Rename azure_rm_virtualmachineimage_facts test.

pull/67244/head
Matt Clay 6 years ago
parent 64567cf4f6
commit 415409c6e3

@ -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
Loading…
Cancel
Save