fix azure test case failure for function apps module (#33658)
This commit is contained in:
parent
b78ab37a94
commit
f8d7e477f0
1 changed files with 4 additions and 1 deletions
|
@ -19,10 +19,13 @@
|
||||||
azure_rm_functionapp_facts:
|
azure_rm_functionapp_facts:
|
||||||
resource_group: '{{ resource_group }}'
|
resource_group: '{{ resource_group }}'
|
||||||
name: azfuncci
|
name: azfuncci
|
||||||
|
register: results
|
||||||
|
|
||||||
- name: assert the facts were retrieved
|
- name: assert the facts were retrieved
|
||||||
assert:
|
assert:
|
||||||
that: '{{ ansible_facts.azure_functionapps|length == 1 }}'
|
that:
|
||||||
|
- results.ansible_facts.azure_functionapps|length == 1
|
||||||
|
- results.ansible_facts.azure_functionapps[0].name == 'azfuncci'
|
||||||
|
|
||||||
- name: delete basic function app
|
- name: delete basic function app
|
||||||
azure_rm_functionapp:
|
azure_rm_functionapp:
|
||||||
|
|
Loading…
Reference in a new issue