Giter VIP home page Giter VIP logo

operator-collections-simple-plays's Introduction

Build Status

Simple Plays

The simple-plays collection contains some example inventory configurations and simple playbooks that may be run standalone or via Kubernetes.

Development & Releases

This repository has built-in automation using Travis for builds and releases of new material. The automation process uses release-it and has a generic logic in travis to enable any user to fork this repo and it will automatically build a properly semantically-versioned archive and release it as a Github Release.

Reference the release-it documentation for more information.

WIP - switch to the public oc-releaser

Inventories & Variables

The inventories folder creates a set of inventories to run against a local or remote system. Use ansible-playbook -i to specify an inventory.

Variables provided by Kubernetes and the OperatorCollection specification are defaulted in the playbooks/vars folder. These values may need to be modified for local development on various branches or forks.

The playbooks provided also use vars_prompt to allow local execution and specifying values directly.

Playbooks

The playbooks and CustomResources provided by this OperatorCollection are listed below.

File

The file playbook is a simple example of executing a playbook to create or delete a file on a target system.

  • Create (Provision)
    ansible-playbook playbooks/file.yml -i inventories/local.yml
    
  • Delete (Deprovision)
    ansible-playbook playbooks/file.yml -i inventories/local.yml --extra-vars "action=delete"
    
    

DiscoverFiles

The discover playbook connects to a system and populates Kubernetes with File CustomResources

  • Discover
    ansible-playbook playbooks/discover.yml -i inventories/local.yml
    

FileMessage

The day2 playbook connects to a system and populates Kubernetes with File CustomResources

  • Write to a file
    ansible-playbook playbooks/day2.yml -i inventories/local.yml
    

operator-collections-simple-plays's People

Contributors

jbyibm avatar

Watchers

 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.