Looks like it returns app pool and Physical Path (assume you mean location 
on disk):

https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/windows/win_iis_website.ps1


 
 
 

if ($site) 
 

{ 
 

 $result.site = @{ 
 

 Name = $site.Name 
 

 ID = $site.ID 
 

 State = $site.State 
 

 PhysicalPath = $site.PhysicalPath 
 

 ApplicationPool = $site.applicationPool 
 

 Bindings = @($site.Bindings.Collection | ForEach-Object { $_.
BindingInformation }) 
 

 } 
 
}




On Monday, February 5, 2018 at 2:05:15 AM UTC-5, Suporter wrote:
>
> I am using  win_iis_website and would like to know whether it is possible 
> to fetch the details of already installed websites like location, 
> application pool and so on
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ff652172-4d17-4d36-af17-ad041000f9b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to