ansible / ansible.builtin / v2.4.3.0-1 / module / win_iis_webapplication Configures IIS web applications | "added in version" 2.0 of ansible.builtin" Authors: Henrik Wallström preview | supported by communityansible.builtin.win_iis_webapplication (v2.4.3.0-1) — module
pip
Install with pip install ansible==2.4.3.0.post1
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 site: description: - Name of the site on which the application is created. required: true state: choices: - absent - present default: present description: - State of the web application. physical_path: description: - The physical path on the remote host to use for the new application. - The specified folder must already exist. application_pool: description: - The application pool in which the new site executes.
application_pool: description: The used/implemented application_pool value returned: success sample: DefaultAppPool type: string physical_path: description: The used/implemented physical_path value returned: success sample: C:\apps\acme\api type: string