mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
fix azure test case failure for function apps module (#33658)
This commit is contained in:
@@ -19,10 +19,13 @@
|
||||
azure_rm_functionapp_facts:
|
||||
resource_group: '{{ resource_group }}'
|
||||
name: azfuncci
|
||||
register: results
|
||||
|
||||
- name: assert the facts were retrieved
|
||||
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
|
||||
azure_rm_functionapp:
|
||||
|
||||
Reference in New Issue
Block a user