mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-03 17:18:54 +00:00
special case for rest module (#54236)
This commit is contained in:
parent
0ec2d71b4a
commit
19e1b4de58
3 changed files with 22 additions and 0 deletions
|
|
@ -99,6 +99,17 @@
|
|||
- output.response[0]['name'] != None
|
||||
- output.response | length >= 1
|
||||
|
||||
- name: Query all the resources in the resource group
|
||||
azure_rm_resource_facts:
|
||||
resource_group: "{{ resource_group }}"
|
||||
resource_type: resources
|
||||
register: output
|
||||
- name: Assert value was returned
|
||||
assert:
|
||||
that:
|
||||
- not output.changed
|
||||
- output.response | length >= 1
|
||||
|
||||
- name: Create storage account that requires LRO polling
|
||||
azure_rm_resource:
|
||||
polling_timeout: 600
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue