mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
committed by
Yunge Zhu
parent
a11cc4bae9
commit
289be02224
@@ -232,23 +232,4 @@
|
||||
- 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."
|
||||
|
||||
- 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
|
||||
failed_when: fail_linux_one_framework_only.msg != "Can specify one framework only for Linux web app."
|
||||
Reference in New Issue
Block a user