Coder Social home page Coder Social logo

ansible-init-1's Introduction

ansible init script

Description

ansible layouts template generation script

Environment

  • serverspec (>= 2.17)
  • ansible (>= 2.0.0)
  • python (~> 2.7)

Exec

$ ansible-init -p test -b centos/7 -i 192.168.111.1 -m 2048 -c 1

Usage

usage: ansible-init [-h] -p PLAYBOOK_NAME [-b BOX_NAME] [-i IP_ADDR]
                    [-m MEMORY] [-c CPU]

Options

optional arguments:
  -h, --help            show this help message and exit
  -p PLAYBOOK_NAME, --playbook_name PLAYBOOK_NAME
                        playbook name
  -b BOX_NAME, --box_name BOX_NAME
                        vagrant box name
  -i IP_ADDR, --ip_addr IP_ADDR
                        private ip address
  -m MEMORY, --memory MEMORY
                        box memory
  -c CPU, --cpu CPU     box cpu

Generated files

.
├── Rakefile
├── Vagrantfile
├── filter_plugins
├── group_vars
├── host_vars
├── library
├── roles
│   └── test
│       ├── defaults
│       │   └── main.yml
│       ├── files
│       ├── handlers
│       │   └── main.yml
│       ├── meta
│       │   └── main.yml
│       ├── tasks
│       │   └── main.yml
│       ├── templates
│       │   └── template.conf.j2
│       └── vars
│           └── main.yml
├── spec
│   ├── default
│   │   └── sample_spec.rb
│   └── spec_helper.rb
└── test-playbook.yml

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.