Code Monkey home page Code Monkey logo

ansible-hacking's Introduction

Build Status

ansible-hacking

A collection of scripts to make hacking on Ansible easier.

Common

Scripts for use on any Ansible control machine.

bootstrap.sh

Set up your environment with everything you need to develop and test Ansible. On Linux, Python modules are installed using your choice of OS packages or pip. On FreeBSD, Python modules are installed using pip. On OS X, installation is done using a combination of brewdo or brew and pip. The following platforms are currently supported, with the tested versions listed.

  • Ubuntu (14.04+)
    • 14.04 LTS (Trusty Tahr)
    • 15.04 (Vivid Vervet)
    • 15.10 (Wily Werewolf)
  • Debian (7+)
    • 7 (Wheezy) (pip only)
    • 8 (Jessie)
  • Fedora
    • 20
    • 21
    • 22
  • CentOS (6+)
    • 6 (pip only)
    • 7
  • Red Hat (6+)
  • OS X (10.9+)
    • 10.9 (Mavericks)
    • 10.10 (Yosemite)
    • 10.11 (El Capitan)
  • FreeBSD (pip only)
    • 10.2

Some platform versions have Python modules which are too old. When this is the case, only the pip command will be available.

NOTE: This script must be run as root, except when using brew.

test.sh

Easily run Ansible tests.

LXD

Scripts for use on a Linux host with LXD.

lxc-push.sh

Copy a single file or directory to an LXD container.

lxc-bootstrap.sh

Run bootstrap.sh in a new LXD container.

lxc-test.sh

Run test.sh in an LXD container.

lxc-parallel-bootstrap.sh

Run lxc-bootstrap.sh on LXD images in parallel. Each image will be tested with both the os and pip bootstrap comands.

lxc-parallel-test.sh

Run lxc-test.sh on LXD containers in parallel.

OS X

Scripts for use on OS X.

osx-parallels-test.sh

Start a new Parallels VM for a specific version of OS X. Stops and deletes the VM if it already exists. The VM to clone from must be named "OS X {version}" such as "OS X 10.11". The VM to clone to will be named "Test {version}" such as "Test 10.11".

ansible-hacking's People

Contributors

mattclay 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.