GithubHelp home page GithubHelp logo

rover's Introduction

Rover - Vagrant templating

Vagrantfile built with external json to simplify slightly differing repeatable builds.

Features

  • Multiple guests
  • Ansible playbooks
  • Ansible galaxy

Defaults

Provided templates use the following base boxes from tiffin:

Basebox Arch Vagrant Cloud
Kali 2022.1 ARM64 delfino/kali-2022.1-arm64
Debian 11.3 ARM64 delfino/debian-11.3-arm64

Provided templates install roles from the following collections from ansible-collections:

Collection Galaxy
utils x_delfino.utils
security x_delfino.security
cloud x_delfino.cloud

Requirements

Usage

  • Clone repo:
    git clone https://github.com/x-delfino/rover.git
    or
    git clone [email protected]:x-delfino/rover.git
  • Set variables in vars.json
  • Run vagrant up
  • develop/learn/test/hack away!

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Vagrant variables",
  "description": "variables for Vagrantfile to automate builds",
  "type": "object",
  "properties": {
    "hosts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "box": {
            "type": "string"
          },
          "ssh_agent": {
            "type": "boolean"
          },
          "hostname": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "cpus": {
            "type": "integer"
          },
          "memory": {
            "type": "integer"
          },
          "playbooks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string"
                },
                "galaxy_file": {
                  "type": "string"
                },
                "groups": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "vars": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "value": {
                      "type": [
                        "integer",
                        "string",
                        "boolean",
                        "array",
                        "object",
                        "number"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

rover's People

Contributors

x-delfino avatar

Watchers

 avatar

rover's Issues

Create packer templates

OS Parallels (ARM64) Docker QEMU (x86-64)
Debian Y
Kali Y
Manjaro
Ubuntu
Windows 10
Server 2019
Server 2022

Vagrant template

  • Move relevant variables to external json file
  • Support multiple VMs
  • Move custom config to separate Vagrantfile

Ansible roles

  • Include required roles
  • Move vars to relevant locations with defaults
  • Include meta
  • Galaxy?
  • Move custom roles out

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.