ansible-vagrant-examples - Ansible examples using Vagrant to deploy to local VMs.

  •        9

This repository contains a collection of example virtual machines running various applications. The VMs are created via Vagrant and provisioned via Ansible. You can cd into any of the included directories and run vagrant up, and a generic Linux VM will be booted and configured in a few minutes. You just need to install Vagrant, VirtualBox, and Ansible. View the included README.md file in any of the subdirectories to find out more about the particular VM.

https://github.com/geerlingguy/ansible-vagrant-examples

Tags
Implementation
License
Platform

   




Related Projects

ansible-for-devops - Ansible examples from Ansible for DevOps.

  •    Python

This repository contains Ansible examples developed to support different sections of Ansible for DevOps, a book on Ansible by Jeff Geerling. Most of the examples are full-fledged VM examples, which use Vagrant, VirtualBox, and Ansible to boot and configure VMs on your local workstation. Not all playbooks follow all of Ansible's best practices, as they illustrate particular Ansible features in an instructive manner.

the-ansibles - One of the most extensive sets of ansible roles/examples, including a vagrant testbox and a setup to quickly run your full-featured and secured personal cloudbox

  •    Shell

Note: This repo is only here for historical/reference purposes. Most roles have been extracted and can be found in the github ANXS organization, as well as on Ansible Galaxy. Many of these will have been updated and are actively maintained. Mainly a (growing) collection of ansible roles I have been writing. I present them here for reuse and educational purposes, since extensive examples are currently sparse, and I would've benefited from these when I started out. I hope they'll benefit others now. They're targetted and tested for Ubuntu (precise), so might not work on all systems (at least not out of the box).

molecule - Molecule aids in the development and testing of Ansible roles.

  •    Python

Molecule is designed to aid in the development and testing of Ansible roles. Molecule provides support for testing with multiple instances, operating systems and distributions, virtualization providers, test frameworks and testing scenarios. Molecule is opinionated in order to encourage an approach that results in consistently developed roles that are well-written, easily understood and maintained. Molecule uses Ansible playbooks to exercise the role and its associated tests. Molecule supports any provider [1] that Ansible supports.

ansible-tuto - Ansible tutorial

  •    Shell

This tutorial presents Ansible step-by-step. You'll need to have a (virtual or physical) machine to act as an Ansible node. A Vagrant environment is provided for going through this tutorial. Ansible is a configuration management software that lets you control and configure nodes from another machine. What makes it different from other management software is that Ansible uses (potentially existing) SSH infrastructure, while others (Chef, Puppet, ...) need a specific PKI infrastructure to be set up.

ansible-interactive-tutorial - Interactive Ansible tutorials with dead simple setup via Docker

  •    Shell

tutorial.sh starts 4 docker containers behind the scenes. 1 for running the tutorial itself and 3 as ansible nodes which behave exactly same as (virtual or physical) machines throughout the tutorial. ansible.tutorial is an alpine based tutorial container in which ansible and nutsh (a framework for creating interactive command line tutorials) are available.


vagrant-php-dev-box - PHP 7 vagrant development box with nginx, php-fpm, MySQL, Symfony, Laravel,

  •    

The installation process will create a folder symfony-standard inside the main directory of the repository. You can now start working inside this folder directly on your host computer using your favourite IDE. Changes done there will be reflected directly on the vagrant box as the directory is mounted in the vagrant box under /vagrant. Also you can login into the box using vagrant ssh and have the full control over processes etc. As the provisioning using the ansible provisioner is very fast you can repeat the whole procedure at any time. In order to start fresh just run vagrant destroy and vagrant up. This will undo all you manual changes done on the vagrant box and provide you with a clean setup.

drupal-vm - A VM for Drupal development

  •    Shell

Drupal VM is a VM for Drupal, built with Ansible. Drupal VM makes building Drupal development environments quick and easy, and introduces developers to the wonderful world of Drupal development on virtual machines or Docker containers (instead of crufty old MAMP/WAMP-based development).

ansible-examples - A few starter examples of ansible playbooks, to show features and how they work together

  •    Shell

This repository contains examples and best practices for building Ansible Playbooks.

vagrant-examples - A collection of sample Vagrant configurations using Puppet

  •    ApacheConf

Vagrant is a tool that uses Oracle's VirtualBox to dynamically build configurable, lightweight, and portable virtual machines. Vagrant supports the use of either Puppet or Chef for managing the configuration. Much more information is available on the Vagrant web site. This is a collection of sample Vagrant configurations using Puppet. They start out very simple with the bare minimum and gradually get more complex. The examples use Ubuntu 12.04, though they should work with any Debian-based Linux distribution. Other distros such as Fedora and SUSE could be supported with some Facter logic in the manifests to ensure that platform-specific packages are installed correctly (e.g. httpd vs apache2).

openstack-ansible - Ansible playbooks for installing OpenStack

  •    Python

You almost certainly want openstack/openstack-ansible instead, which is the official OpenStack-Ansible project. This repository contains script that will deploy OpenStack into Vagrant virtual machines. These scripts are based on the Official OpenStack Docmentation, havana release, except where otherwise noted.

testinfra - Testinfra test your infrastructures

  •    Python

With Testinfra you can write unit tests in Python to test actual state of your servers configured by management tools like Salt, Ansible, Puppet, Chef and so on.

trellis - Ansible playbooks for a WordPress LEMP stack

  •    Python

Ansible playbooks for setting up a LEMP stack for WordPress. Full documentation is available at https://roots.io/trellis/docs/.

ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy

  •    Python

Ansible is a radically simple IT automation system. It handles configuration-management, application deployment, cloud provisioning, ad-hoc task-execution, and multinode orchestration - including trivializing things like zero downtime rolling updates with load balancers.Many users run straight from the development branch (it's generally fine to do so), but you might also wish to consume a release.

infrastructure-as-code-tutorial - Infrastructure As Code Tutorial

  •    

This tutorial is intended to show what the Infrastructure as Code (IaC) is, why we need it, and how it can help you manage your infrastructure more efficiently. It is practice-based, meaning I don't give much theory on what Infrastructure as Code is in the beginning of the tutorial, but instead let you feel it through the practice first. At the end of the tutorial, I summarize some of the key points about Infrastructure as Code based on what you learn through the labs.

vagrant-docker-compose - A Vagrant provisioner for docker compose.

  •    Ruby

A Vagrant provisioner for Docker Compose. Installs Docker Compose and can also bring up the containers defined by a docker-compose.yml.See example in the repository for a full working example.

ansible-container - Ansible Container is a tool to build Docker images and orchestrate containers using only Ansible playbooks

  •    Python

Ansible Container is a tool for building Docker images and orchestrating containers using Ansible playbooks.Creates a directory ansible with files to get you started. Read the comments, and edit to suit your needs.

terraform-inventory - Terraform State → Ansible Dynamic Inventory

  •    Go

This is a little Go app which generates a dynamic Ansible inventory from a Terraform state file. It allows one to spawn a bunch of instances with Terraform, then (re-)provision them with Ansible. It's very simple to add support for new providers. See pull requests with the provider label for examples.

ansible-docker-base - Ansible base Images for easy Ansible-Playbook-based Docker builds

  •    

These are base docker images that include Ansible.Ansible, Inc maintains these images so that people can easily build docker images from ansible playbooks.

image-builder-rpi - SD card image for Raspberry Pi with Docker: HypriotOS

  •    Ruby

You can build the SD card image locally with Vagrant. Make sure you have vagrant installed. Then run the following command to create the Vagrant box and use the Vagrant Docker daemon. The Vagrant box is needed to run guestfish inside. Use export VAGRANT_DEFAULT_PROVIDER=virtualbox to strictly create a VirtualBox VM.

vpn-deploy-playbook - A Collection of Ansible Playbook for deploy vpn services

  •    Shell

A collection of Ansible Playbooks to deploy VPN and proxy services. Simply clone this repo and make sure you have Vagrant + Virtual Box installed and...