Documentation

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, Helping Testing PRs and Developing Modules.