-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try running SSM connection tests in parallel.
- Loading branch information
Showing
7 changed files
with
48 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
28 changes: 28 additions & 0 deletions
28
...connection_aws_ssm/aws_ssm_integration_test_setup/templates/inventory-combined.aws_ssm.j2
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[aws_ssm_linux] | ||
linux_{{linux_output.instance_ids[0]}} ansible_aws_ssm_instance_id={{linux_output.instance_ids[0]}} ansible_aws_ssm_region={{aws_region}} | ||
|
||
[aws_ssm_linux:vars] | ||
remote_tmp=/tmp/ansible-remote | ||
action_prefix= | ||
|
||
[aws_ssm_windows] | ||
windows_{{windows_output.instance_ids[0]}} ansible_aws_ssm_instance_id={{windows_output.instance_ids[0]}} ansible_aws_ssm_region={{aws_region}} | ||
|
||
[aws_ssm_windows:vars] | ||
ansible_shell_type=powershell | ||
remote_tmp=c:/windows/temp/ansible-remote | ||
action_prefix=win_ | ||
|
||
[aws_ssm:children] | ||
aws_ssm_linux | ||
aws_ssm_windows | ||
|
||
[aws_ssm:vars] | ||
ansible_connection=community.aws.aws_ssm | ||
ansible_aws_ssm_bucket_name={{s3_output.name}} | ||
ansible_aws_ssm_plugin=/usr/local/sessionmanagerplugin/bin/session-manager-plugin | ||
ansible_python_interpreter=/usr/bin/env python | ||
|
||
# support tests that target testhost | ||
[testhost:children] | ||
aws_ssm |
9 changes: 7 additions & 2 deletions
9
...ts/connection_aws_ssm/aws_ssm_integration_test_setup/templates/inventory-linux.aws_ssm.j2
This file contains 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 characters
9 changes: 7 additions & 2 deletions
9
.../connection_aws_ssm/aws_ssm_integration_test_setup/templates/inventory-windows.aws_ssm.j2
This file contains 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 characters
10 changes: 0 additions & 10 deletions
10
tests/integration/targets/connection_aws_ssm/inventory.aws_ssm.template
This file was deleted.
Oops, something went wrong.
This file contains 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 characters