1
0
Fork 0
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:
Zim Kalinowski 2019-03-25 11:55:43 +08:00 committed by GitHub
parent 0ec2d71b4a
commit 19e1b4de58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 0 deletions

View file

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