Skip to content

Remove IIS Site

Go to Automation

View in GitLab

Description

This playbook automates the removal of an IIS website and its application pool from a Windows server. It also deletes related site and log folders, interacts with Ivanti ITSM to manage and close related tasks, and adds notes for auditing and workflow tracking.

Credentials

  • sys_ansible_iis

Input

Variable Description
site_name Name of the IIS site to remove
site_prefix Prefix for the IIS site name (default: D09.)
target Target Windows server
task_number (Optional) Ivanti ITSM task number for workflow integration
pws_user Username for Passwordstate API
pws_password Password for Passwordstate API

Output

None

Dependencies