Add some extra vars and create a dependent role prepare_rax_tests

This commit is contained in:
Matt Martz
2015-01-16 10:04:05 -06:00
parent 5a862328f0
commit dab9c30584
13 changed files with 97 additions and 98 deletions

View File

@@ -0,0 +1,7 @@
---
rackspace_region: IAD
rackspace_image_human_id: "ubuntu-1404-lts-trusty-tahr-pvhvm"
rackspace_image_id: "753a7703-4960-488b-aab4-a3cdd4b276dc"
rackspace_image_name: "Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)"
rackspace_flavor: "performance1-1"
resource_prefix: ansible-testing

View File

@@ -0,0 +1,11 @@
---
- name: Check for required variables
assert:
that:
- resource_prefix is defined and resource_prefix
- rackspace_username is defined and rackspace_username
- rackspace_api_key is defined and rackspace_api_key
- rackspace_region is defined and rackspace_region
- rackspace_image_human_id is defined and rackspace_image_human_id
- rackspace_image_id is defined and rackspace_image_id
- rackspace_image_name is defined and rackspace_image_name