From 1fa7a3db2780dad45e3cff7854908421860d1d7d Mon Sep 17 00:00:00 2001 From: Andreas Mosti Date: Thu, 16 Mar 2017 22:52:28 +0100 Subject: [PATCH] Added example of removing the standard website and port 80 binding (#22457) --- lib/ansible/modules/windows/win_iis_website.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ansible/modules/windows/win_iis_website.py b/lib/ansible/modules/windows/win_iis_website.py index 814d49799f2..a380d77b78e 100644 --- a/lib/ansible/modules/windows/win_iis_website.py +++ b/lib/ansible/modules/windows/win_iis_website.py @@ -115,6 +115,12 @@ EXAMPLES = r''' parameters: logfile.directory:c:\sites\logs register: website +# Remove Default Web Site and the standard port 80 binding +- name: Remove Default Web Site + win_iis_website: + name: "Default Web Site" + state: absent + # Some commandline examples: # This return information about an existing host