Skip to content

Instantly share code, notes, and snippets.

@mattwillsher
Created March 22, 2013 21:25

Revisions

  1. mattwillsher created this gist Mar 22, 2013.
    14 changes: 14 additions & 0 deletions gistfile1.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    ---
    - name: Setup Vagrant environment
    hosts: 127.0.0.1
    connection: local
    vars:
    - vagrantbox: CentOS-6.4-x86_64-v201303090
    - vagrantdir: $ENV(HOME)/Development/ansible/$vagrantbox
    tasks:
    - name: Directory $vagrantdir
    file: path=$vagrantdir
    state=directory
    - name: Vagrantfile
    template: src=templates/Vagrantfile.j2
    dest=$vagrantdir/Vagrantfile