1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add deployment slot example

The existing documentation does not include an example that shows how to create a deployment slot for a web app. After much frustration, I finally had to break out fiddler and look at the actual request that was being made in order to figure out how to create one. Hopefully the addition of this example will help someone like me who is struggling to easily solve this problem.

+label: docsite_pr
This commit is contained in:
Travis Estep 2019-01-23 09:32:02 -05:00 committed by ansibot
parent 78fe931327
commit 5154f248c0

View file

@ -253,6 +253,16 @@ EXAMPLES = '''
version: 6.6
- name: "php"
version: "7.0"
- name: Create a stage deployment slot for an existing web app
azure_rm_webapp:
resource_group: myresourcegroup
name: mywebapp/slots/stage
plan:
resource_group: myresourcegroup
name: myappplan
app_settings:
testkey:testvalue
- name: Create a linux web app with java framework
azure_rm_webapp: