This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.
- name:Configuring a handler with missing set parameters should fail
sensu_handler:
name:"set"
type:"set"
register:failure
ignore_errors:true
- name:Assert that configuring a handler with missing set parameters fails
assert:
that:
- failure |failed
- "'the following are missing: handlers' in failure['msg']"