mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
windows default to current instead of all
This commit is contained in:
parent
3511497dc1
commit
c7fb582b9c
2 changed files with 2 additions and 2 deletions
|
@ -225,7 +225,7 @@ foreach ($arg in $args){
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
$profile=Get-Attr $params "profile" "all";
|
$profile=Get-Attr $params "profile" "current";
|
||||||
if (($profile -ne 'current') -or ($profile -ne 'domain') -or ($profile -ne 'standard') -or ($profile -ne 'all') ) {
|
if (($profile -ne 'current') -or ($profile -ne 'domain') -or ($profile -ne 'standard') -or ($profile -ne 'all') ) {
|
||||||
$misArg+="Profile";
|
$misArg+="Profile";
|
||||||
$msg+=@("for the Profile parameter only the values 'current', 'domain', 'standard' or 'all' are allowed");
|
$msg+=@("for the Profile parameter only the values 'current', 'domain', 'standard' or 'all' are allowed");
|
||||||
|
|
|
@ -91,7 +91,7 @@ options:
|
||||||
profile:
|
profile:
|
||||||
describtion:
|
describtion:
|
||||||
- the profile this rule applies to
|
- the profile this rule applies to
|
||||||
default: all
|
default: current
|
||||||
choices: ['current', 'domain', 'standard', 'all']
|
choices: ['current', 'domain', 'standard', 'all']
|
||||||
force:
|
force:
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Reference in a new issue