diff --git a/lib/ansible/modules/windows/win_environment.ps1 b/lib/ansible/modules/windows/win_environment.ps1 index f8452be6954..53e28e68aa4 100644 --- a/lib/ansible/modules/windows/win_environment.ps1 +++ b/lib/ansible/modules/windows/win_environment.ps1 @@ -12,9 +12,6 @@ $spec = @{ state = @{ type = "str"; choices = "absent", "present"; default = "present" } value = @{ type = "str" } } - required_by = @{ - present = @("value") - } required_if = @(,@("state", "present", @("value"))) supports_check_mode = $true }