Skip to content

Commit

Permalink
Remove collection reference inside the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GomathiselviS authored and tremble committed Sep 22, 2022
1 parent 672fab9 commit 99ab7d7
Show file tree
Hide file tree
Showing 7 changed files with 1,258 additions and 1,359 deletions.
3 changes: 1 addition & 2 deletions tests/integration/targets/kms_key/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
# Beware: most of our tests here are run in parallel.
# To add new tests you'll need to add a new host to the inventory and a matching
# '{{ inventory_hostname }}'.yml file in roles/aws_kms/tasks/
Expand All @@ -7,4 +6,4 @@
gather_facts: no
strategy: free
roles:
- aws_kms
- aws_kms
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
kms_key_alias: "ansible-test-{{ inventory_hostname | replace('_','-') }}{{ tiny_prefix }}"
kms_key_alias: ansible-test-{{ inventory_hostname | replace('_','-') }}{{ tiny_prefix
}}
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
---
- name: 'aws_kms integration tests'
- name: aws_kms integration tests
collections:
- amazon.aws
- community.aws
- community.aws
module_defaults:
group/aws:
aws_access_key: '{{ aws_access_key }}'
aws_secret_key: '{{ aws_secret_key }}'
security_token: '{{ security_token | default(omit) }}'
region: '{{ aws_region }}'
block:
- include: './test_{{ inventory_hostname }}.yml'
- include: ./test_{{ inventory_hostname }}.yml
Loading

0 comments on commit 99ab7d7

Please sign in to comment.