Awesome Open Source
Awesome Open Source

Ansible Vagrant Examples

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.

All of these examples use a combination of roles I've added to Ansible Galaxy, and were created to help demonstrate Ansible's simplicity and flexibility.

Read more about Ansible and how I use it to manage infrastructure in Ansible for DevOps, a book I've written.

VMs/Apps Currently Present

  • AWX (awx - Ansible AWX (CI/CD system for running Ansible playbooks)
  • Docker (docker - Docker container building and management (builds a simple LAMP stack).
  • Drupal (drupal - LAMP/LEMP-based Content Management System)
  • ELK (elk - This example has been moved to the Ansible for DevOps repository)
  • GitLab (gitlab - Ruby-based GitHub-like Git web interface)
  • Gogs (gogs - Go-based GitHub-like Git web interface)
  • Jenkins (jenkins - Java-based Continuous Integration server)
  • LAMP (lamp - Linux, Apache, MySQL, and PHP)
  • LEMP (lemp - Linux Nginx, MySQL, and PHP-fpm)
  • Munin (munin - Munin and munin-node monitoring server)
  • Node.js (nodejs - Node.js-based API app using restify)
  • Phergie (phergie - PHP IRC Bot)
  • Rails (rails - Ruby on Rails demo app running on Passenger/Nginx)
  • Apache Solr (solr - Java-based text search service)
  • SonarQube (sonarqube - Java-based code quality analysis and review tool)
  • SVN (svn - An SVN server using Apache for a web interface)
  • Svn2Git (svn2git - A VM which includes KDE's Svn2Git for repository conversions)

License

MIT license.

Author Information

Created in 2014 by Jeff Geerling, author of Ansible for DevOps.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
ruby (12,280
docker (2,689
devops (534
ansible (401
examples (190
vagrant (149

Find Open Source By Browsing 7,000 Topics Across 59 Categories