win_security_policy: Allow setting a value to empty (#42051)

* win_security_policy: allow removing values (resolves #40869)

* Removing warning

* Adding test for remove policy setting

* Fixing string comparison

* Make idempotent

* Adding idempotency and diff test

* added changelog fragment
This commit is contained in:
jamessemai
2018-07-13 06:08:14 +02:00
committed by Jordan Borean
parent b2527c55c3
commit dc32842573
3 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- win_security_policy - allows an empty string to reset a policy value https://github.com/ansible/ansible/issues/40869