Skip to content

This repository uses Python cookiecutter library to create the structure and boiler plate code essential to create Vagrant boxes, where a given software setup is installed via Ansible playbook.

License

Notifications You must be signed in to change notification settings

TIBHannover/cookiecutter-for-vagrant-boxes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cookie cutter for creating Vagrant boxes

Python cookiecutter library allows for the creation of project structures from templates.

This repository uses cookiecutter to create the structure and essential file to create Vagrant boxes, where a given software setup is automated with Ansible.

Running cookie cutter - to create Vagrant box file structure

  • clone repo: git clone https://github.com/TIBHannover/cookiecutter-for-vagrant-boxes.git
  • cd cookiecutter-for-vagrant-boxes
  • create a local python3 virtual environment
  • install cookiecutter python library pip install cocookiecutter
  • go to the parent directory: cd ..
  • run the cookiecutter: cookiecutter cookiecutter-for-vagrant-boxes to create a new instance from the cookiecutter
  • provide the appropriate values to the questions asked
  • go into the created folder, which will have the same name as the box name: cd {{ cookiecutter.box_name }}
  • see the [{{ cookiecutter.box_name }}/README.md]({{ cookiecutter.box_name }}/README.md) for further info on the box source code directory structure
  • start vagrant box vagrant up - for testing purposes
  • started editing away the playbook

About

This repository uses Python cookiecutter library to create the structure and boiler plate code essential to create Vagrant boxes, where a given software setup is installed via Ansible playbook.

Topics

Resources

License

Stars

Watchers

Forks