win_iis_webapplication – Configures IIS web applications¶
New in version 2.0.
Parameters¶
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.
|
Examples¶
- name: Add ACME webapplication on IIS.
win_iis_webapplication:
name: api
site: acme
state: present
physical_path: C:\apps\acme\api
Return Values¶
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
|
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors¶
- Henrik Wallström
Hint
If you notice any issues in this documentation you can edit this document to improve it.