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/lib/ansible
Dreamcat4 7188ae4fe1 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.
8 years ago
..
cli Transform vault_pass into text when we read it in from the user or a file. (#18699) 8 years ago
compat Move py34 mock_open compat to compat/test/mock (#17157) 8 years ago
config
errors Add error info if tabs are found in the yaml (#18343) 8 years ago
executor unified boolean function 8 years ago
galaxy For container enabled role, display warning only when not ANSIBLE_CONTAINER (#18717) 8 years ago
inventory Properly sort groups by name as well as depth when getting vars 8 years ago
module_utils module_utils: ovirt: Add support to fetch nested object's attributes (#18666) 8 years ago
modules fix: The names of firewall profiles are different on win10 & win2008r2 8 years ago
parsing Remove method that isn't used here. (#18713) 8 years ago
playbook smart quotes, die die die. 8 years ago
plugins add back reverted change to network_cli (#18761) 8 years ago
template always template when called from template (#18490) 8 years ago
utils module_utils: ovirt: Add support to fetch nested object's attributes (#18666) 8 years ago
vars ansible_playbook_python (#18530) 8 years ago
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 9 years ago
constants.py Document the get_config function 8 years ago
release.py Bumping devel version to 2.3.0 8 years ago
test-requirements.txt