Created
March 22, 2013 21:25
-
-
Save mattwillsher/5224874 to your computer and use it in GitHub Desktop.
$ENV(HOME) => Array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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 |
Author
mattwillsher
commented
Mar 22, 2013
matt@one: ~/Development/ansible/ansible-boxuk/playbooks/vagrant (dev_vagrant +$)
$ ls -ld '['
drwxr-xr-x 3 matt staff 102 22 Mar 21:22 [
matt@one: ~/Development/ansible/ansible-boxuk/playbooks/vagrant (dev_vagrant +$)
$ ls -ld '['/*
drwxr-xr-x 3 matt staff 102 22 Mar 21:22 [/Users
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment