Add more ansible-test cloud tests.

This commit is contained in:
Matt Clay
2021-10-12 17:10:18 -07:00
parent b1211429d5
commit 2437fb3718
4 changed files with 41 additions and 0 deletions
@@ -0,0 +1,3 @@
cloud/aws
shippable/generic/group1
context/controller
@@ -0,0 +1,17 @@
- name: Verify variables are set
assert:
that:
- aws_access_key
- aws_region
- aws_secret_key
- resource_prefix
- security_token
- tiny_prefix
- name: Show variables
debug:
msg: "{{ lookup('vars', item) }}"
with_items:
- aws_access_key
- aws_region
- resource_prefix
- tiny_prefix
@@ -0,0 +1,3 @@
cloud/azure
shippable/generic/group1
context/controller
@@ -0,0 +1,18 @@
- name: Verify variables are set
assert:
that:
- azure_client_id
- azure_secret
- azure_subscription_id
- azure_tenant
- resource_group
- resource_group_secondary
- name: Show variables
debug:
msg: "{{ lookup('vars', item) }}"
with_items:
- azure_client_id
- azure_subscription_id
- azure_tenant
- resource_group
- resource_group_secondary