Giter Club home page Giter Club logo

ansible-flowerysong.sensu_go's Introduction

NOTE

Officially supported modules are available at https://galaxy.ansible.com/sensu/sensu_go; you should probably use those instead.

Sensu Go Ansible Modules

This Ansible Collection implements a number of modules for interacting with Sensu Go.

Installation

Ansible Collections were added as a technology preview in Ansible 2.8, and are a new method of distributing namespaced Ansible components that are not integrated into the core source tree.

They can be installed into a playbook-adjacent collections directory, ~/.ansible/collections, or the system-wide /usr/share/ansible/collections, or you can modify Ansible's configuration to specify custom locations.

Clone this repo into whichever location strikes your fancy as collections/ansible_collections/flowerysong/sensu_go

Why a Collection?

In-tree modules introduce a certain amount of overhead to every step of the development process, inevitably increase the workload on core developers even with ansibot's workflow automation and multiple active module maintainers, and tie new modules and bugfixes to Ansible's release schedule. Publishing a Collection allows me to make these modules publicly available with minimal extra work.

Where's the Documentation?

HTML documentation is not yet being built, but if you have the collection installed you can access each module's documentation via the ansible-doc command, e.g. ansible-doc flowerysong.sensu_go.sensu_go_asset

Usage

You can use the namespaced modules:

- name: Disable Tessen
  flowerysong.sensu_go.sensu_go_tessen:
    enabled: false
    password: dead60ff

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

- collections:
    - flowerysong.sensu_go
  module_defaults:
    group/sensu_go:
      password: dead60ff
  block:
    - name: Bind admins to the admin role
      sensu_go_rolebinding:
        name: blackops-admin
        cluster: true
        role: cluster-admin
        groups:
          - blackops

    - name: Monitor vault
      sensu_go_check:
        name: vault
        command: check-vault-status
        subscriptions:
          - Class_vault

Custom module_defaults groups are not supported in vanilla Ansible 2.8, but the patch that enables them will hopefully be upstreamed in 2.9.

ansible-flowerysong.sensu_go's People

Contributors

flowerysong avatar wakemaster39 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.