IIS Binding Swap
Description
This playbook swaps IIS bindings between two sites (e.g., blue-green deployments). It verifies the compatibility of the sites, removes existing bindings, and creates new ones. If an SSL certificate is available, it configures HTTPS bindings; otherwise, it falls back to HTTP. The playbook ensures minimal downtime during the swap.
Credentials
- sys_ansible_iis
Input
| Variable | Description |
|---|---|
target |
Target IIS server. |
binding |
Binding to swap. |
site_blue |
Name of the blue site. |
site_green |
Name of the green site. |
task_number |
Ivanti task number |
Output
None