W3cubDocs

/Ansible

win_iis_webapplication - Configures a IIS Web application.

New in version 2.0.

Synopsis

Creates, Removes and configures a IIS Web applications

Options

parameter required default choices comments
application_pool
no
The application pool in which the new site executes.
name
yes
Name of the Web applicatio
physical_path
no
The physical path on the remote host to use for the new applicatiojn. The specified folder must already exist.
site
yes
Name of the site on which the application is created.
state
no
  • present
  • absent
State of the web application

Examples

$ ansible -i hosts -m win_iis_webapplication -a "name=api site=acme physical_path=c:\apps\acme\api" host

This is an Extras Module

For more information on what this means please read Extras Modules

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.

© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/win_iis_webapplication_module.html