mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Slight examples tweak
This commit is contained in:
parent
eb33e3e2ef
commit
f423a8dffe
1 changed files with 4 additions and 3 deletions
|
@ -106,7 +106,7 @@ Additional modules may be submitted as pull requests to github.
|
||||||
.. _windows_system_prep:
|
.. _windows_system_prep:
|
||||||
|
|
||||||
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::
|
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
|
.. code-block:: bash
|
||||||
|
|
||||||
$ Windows 2012 / 2012R2
|
# Windows 2012 / 2012R2
|
||||||
$ Set-NetFirewallRule -Name "WINRM-HTTP-In-TCP-PUBLIC" -RemoteAddress Any
|
$ Set-NetFirewallRule -Name "WINRM-HTTP-In-TCP-PUBLIC" -RemoteAddress Any
|
||||||
$ Windows 2008 / 2008R2
|
|
||||||
|
# Windows 2008 / 2008R2
|
||||||
$ NetSH ADVFirewall Set AllProfiles Settings remotemanagement Enable
|
$ NetSH ADVFirewall Set AllProfiles Settings remotemanagement Enable
|
||||||
|
|
||||||
Best Practices
|
Best Practices
|
||||||
|
|
Loading…
Reference in a new issue