You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/windows
Dreamcat4 6c5a4a14ef fix: win10 - Add exception handling for 'Profiles:' textual output key name mismatch.
In win10 (and pribably win8x also):

The output of 'show rule' key includes the line "Profiles:<TAB>Public,Private".
Yet your script expects the key name printed out to be "Profile:<TAB>value".

This commit added the necessary exception handling to avoid flagging 'different=true' under the false circumstance. The key name to SET a firewall rule is still "profile=" and not "profiles=".

There is coming up another commit to fix the value handling for win10/win8. Which is another (different) error with the profile: key.
9 years ago
..
__init__.py package file 10 years ago
win_chocolatey.ps1 win_chocolatey bugfixes 9 years ago
win_chocolatey.py Add author data 9 years ago
win_dotnet_ngen.ps1 Create win_dotnet_ngen module 9 years ago
win_dotnet_ngen.py more doc fixes 9 years ago
win_environment.ps1 Update attribution 9 years ago
win_environment.py Update attribution 9 years ago
win_firewall_rule.ps1 fix: win10 - Add exception handling for 'Profiles:' textual output key name mismatch. 9 years ago
win_firewall_rule.py add version_added: "2.0" 9 years ago
win_iis_virtualdirectory.ps1 Modules to manage IIS 10 years ago
win_iis_virtualdirectory.py minor doc fixes 9 years ago
win_iis_webapplication.ps1 Modules to manage IIS 10 years ago
win_iis_webapplication.py Fix up docs 9 years ago
win_iis_webapppool.ps1 Modules to manage IIS 10 years ago
win_iis_webapppool.py These modules were added to version 2.0, not 1.9 9 years ago
win_iis_webbinding.ps1 Modules to manage IIS 10 years ago
win_iis_webbinding.py These modules were added to version 2.0, not 1.9 9 years ago
win_iis_website.ps1 Workaround for bug in PowerShell Get-Website cmdlet. 9 years ago
win_iis_website.py These modules were added to version 2.0, not 1.9 9 years ago
win_nssm.ps1 Move comments to the documentation 9 years ago
win_nssm.py doc formatting fixes 9 years ago
win_package.ps1 fixes #984 9 years ago
win_package.py added module author 9 years ago
win_regedit.ps1 Adding functionality to not only edit Values, but also Keys. 9 years ago
win_regedit.py Adding functionality to not only edit Values, but also Keys. 9 years ago
win_scheduled_task.ps1 Remove duplicate action declaration. 9 years ago
win_scheduled_task.py Note parameters that are not idempotent 9 years ago
win_unzip.ps1 use convertto-bool for rm and recurse params 9 years ago
win_unzip.py minor doc fixes that had lingering description of deprecated functions 9 years ago
win_updates.ps1 win_updates rewrite for 2.0 9 years ago
win_updates.py win_updates rewrite for 2.0 9 years ago
win_webpicmd.ps1 win_webpicmd module for IIS module installation 9 years ago
win_webpicmd.py more doc fixes 9 years ago