Created
January 5, 2015 23:56
-
-
Save bkimble/5a2c89f6ae7fa1591403 to your computer and use it in GitHub Desktop.
Revisions
-
bkimble created this gist
Jan 5, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ --- - hosts: localhost vars_files: # Todo: Find a way of putting this in another file and including it. Otherwise we'll be repeating it all over the place. - ["inventory/group_vars/{{ env_name | mandatory }}.yml", "inventory/group_vars/empty.yml"] - ["inventory/group_vars/{{ env_name | mandatory }}-{{ app_name }}.yml", "inventory/group_vars/empty.yml"] - ["inventory/group_vars/{{ env_name | mandatory }}-{{ app_name }}-{{ role_name }}.yml", "inventory/group_vars/empty.yml"] pre_tasks: - debug: var=num_servers_to_provision roles: - {role: provision}