New in version 2.0.
parameter | required | default | choices | comments |
---|---|---|---|---|
application_pool | no | The application pool in which the new site executes. | ||
name | yes | Name of the web application. | ||
physical_path | no | The physical path on the remote host to use for the new application. The specified folder must already exist. | ||
site | yes | Name of the site on which the application is created. | ||
state | no | present |
| 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 Return Values, the following are the fields unique to this module:
name | description | returned | type | sample |
---|---|---|---|---|
physical_path | The used/implemented physical_path value | success | string | C:\apps\acme\api |
application_pool | The used/implemented application_pool value | success | string | DefaultAppPool |
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.
© 2012–2017 Michael DeHaan
© 2017 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/win_iis_webapplication_module.html