Commit fab03745 by Craig Ackerman Committed by Matt Martz

Added Windows intro content

parent 97f4f562
......@@ -106,11 +106,38 @@ Additional modules may be submitted as pull requests to github.
.. _windows_system_prep:
System Prep
```````````
``````````
In order for Ansible to manage your windows machines, you will have to enable Powershell remoting first, which also enables WinRM::
From the Windows host, launch the Powershell Client. For information on Powershell, visit 'Microsoft's Using Powershell article <http://technet.microsoft.com/en-us/library/dn425048.aspx>'
In the powershell session, run the following to enable PS Remoting and set the execution policy
.. code-block:: bash
$ Enable-PSRemoting -Force
$ Set-ExecutionPolicy RemoteSigned
If your Windows firewall is enabled, you must also run the following command to allow firewall access to the public firewall profile::
.. code-block:: bash
$ Windows 2012 / 2012R2
$ Set-NetFirewallRule -Name "WINRM-HTTP-In-TCP-PUBLIC" -RemoteAddress Any
$ Windows 2008 / 2008R2
$ NetSH ADVFirewall Set AllProfiles Settings remotemanagement Enable
Best Practices
By default, Powershell remoting enables an HTTP listener. The following commands enable an HTTPS listener, which secures communication between the Control Machine and windows.
.. code-block:: bash
$ Delete the http listener
$ WinRM delete winrm/config/listener?Address=*+Transport=HTTP
$ Create the https listener
$ Insert code here
In order for Ansible to manage your windows machines you will have to enable powershell remoting first::
How to do it goes here
.. _windows_and_linux_control_machine:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment