win_iis_virtualdirectory – Configures a virtual directory in IIS¶
Parameters¶
See Also¶
See also
- win_iis_webapplication – Configures IIS web applications
- The official documentation on the win_iis_webapplication module.
- win_iis_webapppool – Configure IIS Web Application Pools
- The official documentation on the win_iis_webapppool module.
- win_iis_webbinding – Configures a IIS Web site binding
- The official documentation on the win_iis_webbinding module.
- win_iis_website – Configures a IIS Web site
- The official documentation on the win_iis_website module.
Examples¶
- name: Create a virtual directory if it does not exist
  win_iis_virtualdirectory:
    name: somedirectory
    site: somesite
    state: present
    physical_path: C:\virtualdirectory\some
- name: Remove a virtual directory if it exists
  win_iis_virtualdirectory:
    name: somedirectory
    site: somesite
    state: absent
- name: Create a virtual directory on an application if it does not exist
  win_iis_virtualdirectory:
    name: somedirectory
    site: somesite
    application: someapp
    state: present
    physical_path: C:\virtualdirectory\some
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors¶
- Henrik Wallström (@henrikwallstrom)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
