fix linux webapp java framework bug (#44753)

* fix linux web app java linux_fx_version

* fix lint

* fix test

* resolve comments
This commit is contained in:
Yunge Zhu
2018-08-28 15:55:19 +08:00
committed by Zim Kalinowski
parent 8a79d944a3
commit d5cbb53f5a
2 changed files with 39 additions and 9 deletions

View File

@@ -232,4 +232,23 @@
- name: "node"
version: "6.6"
register: fail_linux_one_framework_only
failed_when: fail_linux_one_framework_only.msg != "Can specify one framework only for Linux web app."
failed_when: fail_linux_one_framework_only.msg != "Can specify one framework only for Linux web app."
- name: Create a linux web app with java tomcat container
azure_rm_webapp:
resource_group: "{{ resource_group }}"
name: "{{ win_app_name }}13"
plan:
resource_group: "{{ linux_app_plan_resource_group }}"
name: "{{ linux_plan_name }}"
frameworks:
- name: java
version: "8"
settings:
java_container: "tomcat"
java_container_version: "8.5"
register: output
- name: Assert the web app was created
assert:
that: output.changed