Skip to content

daniel-rhoades/ansible-environment

Repository files navigation

ansible-environment

Vagrant setup which provides an Ansible environment with EC2 provisioning support.

Quick start

  1. Clone this project to your local machine;
  2. Run $ vagrant up;
  3. Login to your Vagrant machine $ vagrant ssh;
  4. You'll find your home directory has been mapped to /home/host-machine/;
  5. Run whatever Ansible playbook/commands you like.

If you are using AWS then make sure you source the environment variables:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION

Vagrant is setup by default to use the latest stable release of Ansible. If you want the development branch then run $ vagrant up development, remember to use the machine name as required, e.g. $ vagrant ssh development. The development machine will take a while to download all the dependencies, but for your wait you get bleeding edge functionality. Once the functionality you require has made release, just destroy the development machine and revert back to stable.

About

Vagrant setup which provides an Ansible environment with EC2 provisioning support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages