ansible / ansible.builtin / v2.9.27 / module / win_iis_webapplication Configures IIS web applications | "added in version" 2.0 of ansible.builtin" Authors: Henrik Wallström (@henrikwallstrom) preview | supported by communityansible.builtin.win_iis_webapplication (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
Creates, removes, and configures IIS web applications.
- name: Add ACME webapplication on IIS. win_iis_webapplication: name: api site: acme state: present physical_path: C:\apps\acme\api
name: description: - Name of the web application. required: true type: str site: description: - Name of the site on which the application is created. required: true type: str state: choices: - absent - present default: present description: - State of the web application. type: str physical_path: description: - The physical path on the remote host to use for the new application. - The specified folder must already exist. type: str application_pool: description: - The application pool in which the new site executes. type: str
application_pool: description: The used/implemented application_pool value. returned: success sample: DefaultAppPool type: str physical_path: description: The used/implemented physical_path value. returned: success sample: C:\apps\acme\api type: str