Skip to content

Carlangueitor/django-vagrant-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Demo

This a simple deme presented in Chilango Django Meetup.

Prerequisites

  • VirtualBox
  • Vagrant >= 1.1
  • Vagrant plugin vagrant-vbguest (install with vagrant plugin install vagrant-vbguest)
  • Ansible >= 2.0

Running the example locally

Make sure prerequisites are installed before run these steps:

  • Install Ansible Roles with ansible-galaxy install -r requirements.txt
  • Create Vagrant machine: vagrant up

To run the provider use `vagrant provision

Runing the remote example

  • Edit inventory.cfg with your server details.
  • Run ansible-playbook playbook.yml -i inventory.cfg -l prod -k -u <REMOTE_USER>

About

Ansible Django Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published