Skip to content

Add new IIS Site

Go to Automation

View in GitLab

Description

This playbook configures a Windows server for IIS hosting. It checks and labels required drives, installs IIS and related Windows features, sets up folder structures, removes default IIS sites and app pools, configures environment variables and IIS logging, enables remote IIS management, and applies security and logging settings for a standardized IIS environment.

Credentials

  • sys_ansible_iis

Input

Variable Description
target Target Windows server to configure IIS on
machine_env (Optional) Environment code (e.g., DV, QA, ST, PR). If not provided, it is auto-detected from the server name.

Output

None

Dependencies