win_iis_webbinding – Configures a IIS Web site binding¶
Parameters¶
See Also¶
See also
- win_iis_virtualdirectory – Configures a virtual directory in IIS
- The official documentation on the win_iis_virtualdirectory module.
- win_iis_webapplication – Configures IIS web applications
- The official documentation on the win_iis_webapplication module.
- win_iis_webapppool – Configure IIS Web Application Pools
- The official documentation on the win_iis_webapppool module.
- win_iis_website – Configures a IIS Web site
- The official documentation on the win_iis_website module.
Examples¶
- name: Add a HTTP binding on port 9090
win_iis_webbinding:
name: Default Web Site
port: 9090
state: present
- name: Remove the HTTP binding on port 9090
win_iis_webbinding:
name: Default Web Site
port: 9090
state: absent
- name: Remove the default http binding
win_iis_webbinding:
name: Default Web Site
port: 80
ip: '*'
state: absent
- name: Add a HTTPS binding
win_iis_webbinding:
name: Default Web Site
protocol: https
port: 443
ip: 127.0.0.1
certificate_hash: B0D0FA8408FC67B230338FCA584D03792DA73F4C
state: present
- name: Add a HTTPS binding with host header and SNI enabled
win_iis_webbinding:
name: Default Web Site
protocol: https
port: 443
host_header: test.com
ssl_flags: 1
certificate_hash: D1A3AF8988FD32D1A3AF8988FD323792DA73F4C
state: present
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors¶
- Noah Sparks (@nwsparks)
- Henrik Wallström (@henrikwallstrom)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.