bin/handler-ansible.rb in sensu-plugins-ansible-0.0.3 vs bin/handler-ansible.rb in sensu-plugins-ansible-0.0.4
- old
+ new
@@ -38,10 +38,10 @@
#
# Ansible
#
class Ansible < Sensu::Handler
- def handle # rubocop:disable all
+ def handle
ansible = settings['ansible']['command'] || 'ansible-playbook'
playbook = settings['ansible']['playbook'] || nil
extra_vars = JSON.generate(@event)
unless @event['check']['ansible'].nil?