Skip to content

Instantly share code, notes, and snippets.

@tgerla
Created June 26, 2015 15:45
Show Gist options
  • Save tgerla/a0c266c1f8032f5ea5d0 to your computer and use it in GitHub Desktop.
Save tgerla/a0c266c1f8032f5ea5d0 to your computer and use it in GitHub Desktop.
- name: Link check plugins
file: src={{ item.path }} dest={{ item.dest }} state=link
with_items:
- { path: '/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-plugins-cpu-checks-0.0.2/bin/check-cpu.rb', dest: '/etc/sensu/plugins/checks/check-cpu.rb' }
- { path: '/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-plugins-cpu-checks-0.0.2/bin/check-cpu.sh', dest: '/etc/sensu/plugins/checks/check-cpu.sh' }
notify: restart sensu-client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment