add publish url in webapp facts output (#45131)

* add publish url in webapp facts output

* update name

* fix test
This commit is contained in:
Yunge Zhu 2018-09-06 08:04:09 +08:00 committed by Zim Kalinowski
commit 2955d7cd1b
2 changed files with 57 additions and 1 deletions

View file

@ -316,3 +316,15 @@
- name: Assert the web app was created
assert:
that: output.changed
- name: Get facts with publish profile
azure_rm_webapp_facts:
resource_group: "{{ resource_group }}"
name: "{{ win_app_name }}13"
no_log: true
register: facts
- name: Assert publish profile returned
assert:
that:
- facts.webapps[0].ftp_publish_url != ''