ansible/windows
Dreamcat4 469d22df97 fix: The names of firewall profiles are different on win10 & win2008r2
Hi again. This commit removes a small portion of your script's own internal error checking. In specific: for the value of the profile: key. This is essential to avoid errors on other verisons of the windows operating system which are not win2008r2 (your version).

For example: on win10 (and most likely win8x too), the names of the profiles don't include the values 'current' and 'all'. But instead the values are 'Public' 'Private' 'Domain' and 'Any. But in addition, there are also certain combinatorial values, such as profile=Public,Private etc. Which is too many to error check yourself.

Yet removing the error checking here should not cause any ill effects however: since the netsh advfirewall ... cmds themselves to add / remove / modify actually to their own error checking of the profile=value. So when the cmd is run, it will error out itself with an appropriate / informative error msg. No harm done.

Therefore please remove the highlighed portions from your own script. It is essential for interoperability with win10 and win8x. Many thanks.
2015-10-05 21:53:11 +01:00
..
__init__.py package file 2014-12-17 13:25:51 +02:00
win_chocolatey.ps1 win_chocolatey bugfixes 2015-09-23 20:49:26 +02:00
win_chocolatey.py Add author data 2015-06-16 12:30:47 -04:00
win_dotnet_ngen.ps1 Create win_dotnet_ngen module 2015-05-19 11:47:45 +01:00
win_dotnet_ngen.py more doc fixes 2015-07-28 14:27:21 -04:00
win_environment.ps1 Update attribution 2015-05-15 00:40:30 +01:00
win_environment.py Update attribution 2015-05-15 00:40:30 +01:00
win_firewall_rule.ps1 fix: The names of firewall profiles are different on win10 & win2008r2 2015-10-05 21:53:11 +01:00
win_firewall_rule.py fix: The names of firewall profiles are different on win10 & win2008r2 2015-10-05 21:53:11 +01:00
win_iis_virtualdirectory.ps1 Modules to manage IIS 2015-04-24 10:48:02 +02:00
win_iis_virtualdirectory.py minor doc fixes 2015-07-17 00:51:08 -04:00
win_iis_webapplication.ps1 Modules to manage IIS 2015-04-24 10:48:02 +02:00
win_iis_webapplication.py Fix up docs 2015-06-25 07:12:10 -07:00
win_iis_webapppool.ps1 Modules to manage IIS 2015-04-24 10:48:02 +02:00
win_iis_webapppool.py These modules were added to version 2.0, not 1.9 2015-06-25 07:05:29 -07:00
win_iis_webbinding.ps1 Modules to manage IIS 2015-04-24 10:48:02 +02:00
win_iis_webbinding.py These modules were added to version 2.0, not 1.9 2015-06-25 07:05:29 -07:00
win_iis_website.ps1 Workaround for bug in PowerShell Get-Website cmdlet. 2015-08-02 11:31:15 -04:00
win_iis_website.py These modules were added to version 2.0, not 1.9 2015-06-25 07:05:29 -07:00
win_nssm.ps1 Move comments to the documentation 2015-08-20 13:57:03 -04:00
win_nssm.py doc formatting fixes 2015-10-05 11:57:38 -04:00
win_package.ps1 fixes #984 2015-10-01 19:08:42 +02:00
win_package.py added module author 2015-10-01 19:12:21 +02:00
win_regedit.ps1 Adding functionality to not only edit Values, but also Keys. 2015-07-06 16:22:55 -04:00
win_regedit.py Adding functionality to not only edit Values, but also Keys. 2015-07-06 16:22:55 -04:00
win_scheduled_task.ps1 Remove duplicate action declaration. 2015-09-08 14:45:21 -05:00
win_scheduled_task.py Note parameters that are not idempotent 2015-09-08 14:40:21 -05:00
win_unzip.ps1 use convertto-bool for rm and recurse params 2015-07-06 11:55:41 -05:00
win_unzip.py minor doc fixes that had lingering description of deprecated functions 2015-07-17 22:15:57 -05:00
win_updates.ps1 win_updates rewrite for 2.0 2015-08-21 09:49:36 -07:00
win_updates.py win_updates rewrite for 2.0 2015-08-21 09:49:36 -07:00
win_webpicmd.ps1 win_webpicmd module for IIS module installation 2015-05-19 11:50:12 +01:00
win_webpicmd.py more doc fixes 2015-07-28 14:27:21 -04:00