Skip to content

Add new IIS Site

Go to Automation

View in GitLab

Description

This playbook adds a new virtual directory (virtual folder) to an existing IIS website on a Windows server. It determines the correct site name, then creates the specified virtual folder with the given physical path.

Credentials

  • sys_ansible_iis

Input

Variable Description
site_name Name of the IIS site to add the virtual folder to
site_prefix Prefix for the IIS site name (default: D09.) (optional)
virtualfolder Name of the virtual folder to create
virtual_folder_path Physical path on disk for the virtual folder
target Target Windows server

Output

None

Dependencies