Skip to content
Official Ansible module for Sensu Go
Python
Branch: master
Clone or download
Pull request Compare This branch is 42 commits behind sensu:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
plugins
tests
.gitattributes
.gitignore
CHANGELOG.md
CODE_OF_CONDUCT.md
COPYING
README.md
galaxy.yml
requirements-dev.txt

README.md

Sensu Go Ansible Modules

This Ansible Collection contains:

  • Ansible role to install Sensu Go on your nodes
  • Ansible modules for interacting with Sensu Go REST API

Installation

Just install the collection from Ansible Galaxy and you're good to go:

ansible-galaxy collection install sensu.sensu_go

Usage

You can use the namespaced modules:

- hosts: localhost
  tasks:
    - name: List Assets
      sensu.sensu_go.sensu_go_asset_info:
      register: assets

    - name: List Filters
      sensu.sensu_go.sensu_go_filter_info:
      register: filters

Or add the collection to the search path and use bare names:

- hosts: localhost
  collections: [sensu.sensu_go]
  tasks:
    - name: List Assets
      sensu_go_asset_info:
      register: assets

    - name: List Filters
      sensu_go_filter_info:
      register: filters

Acknowledgement

We would like to thank @flowerysong for initial implementation of the Ansible modules provided in this collection.

You can’t perform that action at this time.