Skip to content

Add new IIS Site

Go to Automation

View in GitLab

Description

This playbook removes a specified virtual directory (virtual folder) from an existing IIS website on a Windows server. It determines the correct site name and then deletes the given virtual folder from the site.

Credentials

  • sys_ansible_iis

Input

Variable Description
site_name Name of the IIS site to remove the virtual folder from
site_prefix Prefix for the IIS site name (default: D09.) (optional)
virtualfolder Name of the virtual folder to remove
target Target Windows server

Output

None

Dependencies