Code Monkey home page Code Monkey logo

ops's Introduction

Ops

This repo serves as a container for utilitys and apps related to Operations tasks.

Using Ops tools:

Requirements

ruby 1.8.7
openssh

Getting Started

Add the following to your .bashrc or .bash_profile_

export $OPS_HOME="/path to your ops repo"
source $OPS_HOME/autocomplete

Add the following symbolic link so you can use this from any directory

# ln -s this somewhere else if you're using a shared computer
# maybe create a local bin folder in ~/ and add it to your path

ln -s $OPS_HOME /usr/local/bin/ops

run the following command

bundle install

create a config.json file with the following contents:

{
  "IdentityLocations" : [ "~/.ssh", ... ],
    "AWS" : {
      "AccessKeyId" : "Your Access Key",
      "SecretAccessKey" : "Your Secret Access Key"
    }
}

Connecting to a host:

usage: ops [ host ]:ssh

Other commands:

ops -T - List all tasks available

ops hosts:list - List all the hosts

ops hosts:sync - Sync hosts.json with EC2 instance list

ops hosts:add host=[ alias name ] hostname=[ ip address or hostname ] \
  identity=[ private key name ] user=[ user ]

ops's People

Contributors

hardeep avatar goya avatar

Watchers

James Cloos 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.