mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-03 03:42:45 +00:00
Slight examples tweak
This commit is contained in:
committed by
Matt Martz
parent
eb33e3e2ef
commit
f423a8dffe
@@ -106,7 +106,7 @@ 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::
|
||||
|
||||
@@ -123,9 +123,10 @@ If your Windows firewall is enabled, you must also run the following command to
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ Windows 2012 / 2012R2
|
||||
# Windows 2012 / 2012R2
|
||||
$ Set-NetFirewallRule -Name "WINRM-HTTP-In-TCP-PUBLIC" -RemoteAddress Any
|
||||
$ Windows 2008 / 2008R2
|
||||
|
||||
# Windows 2008 / 2008R2
|
||||
$ NetSH ADVFirewall Set AllProfiles Settings remotemanagement Enable
|
||||
|
||||
Best Practices
|
||||
|
||||
Reference in New Issue
Block a user