win_environment: Added explicit check for null, empty string with state=present (#40468)

* win_environment: Added explicit check for null, empty string with state=present

* Added changelog fragment
This commit is contained in:
Jordan Borean
2018-05-22 06:45:33 +10:00
committed by GitHub
parent 5634dae290
commit db195831fd
4 changed files with 22 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ options:
value:
description:
- The value to store in the environment variable.
- Must be set when C(state=present) and cannot be an empty string.
- Can be omitted for C(state=absent).
level:
description: