mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
New module for azure custom image facts (#42102)
* new module for azure custom image facts * added facts in aliases, corrected assertion * simplified managed disk id struct * updated ansible version
This commit is contained in:
committed by
Zim Kalinowski
parent
b3a3e8ba7b
commit
a4663d8e73
@@ -1,3 +1,4 @@
|
||||
cloud/azure
|
||||
shippable/azure/group3
|
||||
destructive
|
||||
azure_rm_image_facts
|
||||
|
||||
@@ -116,6 +116,16 @@
|
||||
- not output.changed
|
||||
- output.id
|
||||
|
||||
- name: Gather information about image created
|
||||
azure_rm_image_facts:
|
||||
resource_group: "{{ resource_group }}"
|
||||
name: testimage001
|
||||
register: output
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- output.images != []
|
||||
|
||||
- name: Delete image (check mode)
|
||||
azure_rm_image:
|
||||
resource_group: "{{ resource_group }}"
|
||||
|
||||
Reference in New Issue
Block a user