New in version 2.0.
Parameter |
Choices/Defaults |
Comments |
---|---|---|
application_pool
|
|
The application pool in which the new site executes.
|
name
required |
|
Name of the web application.
|
physical_path
|
|
The physical path on the remote host to use for the new application.
The specified folder must already exist.
|
site
required |
|
Name of the site on which the application is created.
|
state
|
|
State of the web application.
|
- name: Add ACME webapplication on IIS.
win_iis_webapplication:
name: api
site: acme
state: present
physical_path: C:\apps\acme\api
Common return values are documented here, the following are the fields unique to this module:
Key |
Returned |
Description |
---|---|---|
application_pool
string
|
success |
The used/implemented application_pool value
Sample:
DefaultAppPool
|
physical_path
string
|
success |
The used/implemented physical_path value
Sample:
C:\apps\acme\api
|
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
Hint
If you notice any issues in this documentation you can edit this document to improve it.