Sha256: f962e7f9bd33a174c710d5b7e1907cb7aecbe7302879376a25f84d90f3853a75

Contents?: true

Size: 1.73 KB

Versions: 1

Compression:

Stored size: 1.73 KB

Contents

## Sensu-Plugins-ansible

[![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-ansible.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-ansible)
[![Gem Version](https://badge.fury.io/rb/sensu-plugins-ansible.svg)](http://badge.fury.io/rb/sensu-plugins-ansible)
[![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ansible/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ansible)
[![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ansible/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-ansible)
[![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-ansible.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-ansible)

## Functionality

## Files
 * bin/handler-ansible.rb


## Usage

**handler-ansible**
```json
{
  "ansible": {
    "command": "/usr/bin/ansible-playbook",
    "playbook": "playbook.yml"
  }
}
```
## Installation

Add the public key (if you haven’t already) as a trusted certificate

```
gem cert --add <(curl -Ls https://raw.githubusercontent.com/sensu-plugins/sensu-plugins.github.io/master/certs/sensu-plugins.pem)
gem install sensu-plugins-ansible -P MediumSecurity
```

You can also download the key from /certs/ within each repository.

#### Rubygems

`gem install sensu-plugins-ansible`

#### Bundler

Add *sensu-plugins-ansible* to your Gemfile and run `bundle install` or `bundle update`

#### Chef

Using the Sensu **sensu_gem** LWRP
```
sensu_gem 'sensu-plugins-ansible' do
  options('--prerelease')
  version '0.0.1'
end
```

Using the Chef **gem_package** resource
```
gem_package 'sensu-plugins-ansible' do
  options('--prerelease')
  version '0.0.1'
end
```

## Notes

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sensu-plugins-ansible-0.0.1.alpha.2 README.md