mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add some extra vars and create a dependent role prepare_rax_tests
This commit is contained in:
@@ -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
|
||||
11
test/integration/roles/prepare_rax_tests/tasks/main.yml
Normal file
11
test/integration/roles/prepare_rax_tests/tasks/main.yml
Normal 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
|
||||
Reference in New Issue
Block a user