ansible/lib
Thomas Reppert fbdd295cef Adjust conditional for disabling alert email (#63951)
* Adjust conditional for disabling alert email

Conditional was improperly disabling existing alert email when it was found enabled.  The expectation is that it should only disable if module.param['enabled'] was set to false.

* Adjusted disable logic

Added back in the logic of only disabling the alert email if it is module.params['enabled'] is false AND current value of enabled is true on the array
2019-11-14 10:44:55 -05:00
..
ansible Adjust conditional for disabling alert email (#63951) 2019-11-14 10:44:55 -05:00