Open Udayendu opened 2 years ago
@Udayendu I would like to see that functionality as well, but in the meantime, you can use the win_dsc module to accomplish this. An example for a web application is here:
- name: Install xWebAdministration module
win_psmodule:
name: xWebAdministration
state: present
- name: "Setting Windows Auth as 'Enabled' and Anonymous Auth as 'Disabled'..."
win_dsc:
resource_name: xWebApplication
Name: MyWebSite
Ensure: Present
PhysicalPath: C:\inetpub\wwwroot\
Website: 'Default Web Site'
WebAppPool: {{ app_pool }}
AuthenticationInfo:
Windows: yes
Anonymous: no
Thanks @jeremyhallock :)
SUMMARY
Currently there is no option to change the anonymous and windows authentication using
win_iis_website
moduleISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
EXPECTED RESULTS
win_iis_website
module should have some option to change the authentication type of a website and its applictaionACTUAL RESULTS