Hi,
Ansible 2.6.3
Target hosts: Windows
Guys, could you please tell me if we have possibility to create IIS website using win_iis_website module with HTTPS binding only (without HTTP one) ?
Like I can do this using Powershell (assuming application pool “test” already exists):
New-Website -Name “test” -PhysicalPath “Path_to_site_folder” -Port 443 -ApplicationPool “test” -Ssl
I’ve used next task, but execution failed (assuming application pool “test” already exists):
- name: Create site
win_iis_website:
name: “test”
physical_path: ‘Path_to_site_folder’
port: 443
ssl:
application_pool: “test”
state: started
win_iis_website module offers parameter called ssl, but seems like it’s only mentioned among parameters there without actual usage during module execution.