mirror of https://github.com/ansible/ansible.git
Add Windows AD Domain facts for membership and server type (#23500)
* Add Windows Domain facts for membership and server type Adds additional facts to setup.ps1 for Windows hosts * ansible_windows_domain_member - returns true if machine is domain joined * ansible_windows_domain_role - indicates role of machine in domain Roles list is taken from https://technet.microsoft.com/en-us/library/ee198796.aspx and will return sensible values for non domain joined machines too. * Use $win32_cs rather than Get-CimInstance Win32_ComputerSystem for consistencypull/23528/merge
parent
0a3da471f5
commit
158cd59994
Loading…
Reference in New Issue