diff --git a/changelogs/fragments/aws_ssm-facts.yml b/changelogs/fragments/aws_ssm-facts.yml new file mode 100644 index 00000000000..f3e826d49f1 --- /dev/null +++ b/changelogs/fragments/aws_ssm-facts.yml @@ -0,0 +1,2 @@ +trivial: +- aws_ssm - Added gather_facts to connection plugin tests. diff --git a/tests/integration/targets/connection/test_connection.yml b/tests/integration/targets/connection/test_connection.yml index a873c2b5526..87ed5851dbb 100644 --- a/tests/integration/targets/connection/test_connection.yml +++ b/tests/integration/targets/connection/test_connection.yml @@ -10,6 +10,10 @@ ### test wait_for_connection plugin - wait_for_connection: + timeout: '{{ wait_for_timeout | default(100) }}' + + - name: Gather facts + ansible.builtin.setup: ### raw with unicode arg and output diff --git a/tests/integration/targets/connection_aws_ssm_addressing/aliases b/tests/integration/targets/connection_aws_ssm_addressing/aliases index 2f6a2beab2a..eb8e0b8914b 100644 --- a/tests/integration/targets/connection_aws_ssm_addressing/aliases +++ b/tests/integration/targets/connection_aws_ssm_addressing/aliases @@ -1,4 +1,4 @@ -time=20m +time=10m cloud/aws connection_aws_ssm diff --git a/tests/integration/targets/connection_aws_ssm_amazon/aliases b/tests/integration/targets/connection_aws_ssm_amazon/aliases index 2f6a2beab2a..eb8e0b8914b 100644 --- a/tests/integration/targets/connection_aws_ssm_amazon/aliases +++ b/tests/integration/targets/connection_aws_ssm_amazon/aliases @@ -1,4 +1,4 @@ -time=20m +time=10m cloud/aws connection_aws_ssm diff --git a/tests/integration/targets/connection_aws_ssm_encrypted_s3/aliases b/tests/integration/targets/connection_aws_ssm_encrypted_s3/aliases index 2f6a2beab2a..eb8e0b8914b 100644 --- a/tests/integration/targets/connection_aws_ssm_encrypted_s3/aliases +++ b/tests/integration/targets/connection_aws_ssm_encrypted_s3/aliases @@ -1,4 +1,4 @@ -time=20m +time=10m cloud/aws connection_aws_ssm diff --git a/tests/integration/targets/connection_aws_ssm_fedora/aliases b/tests/integration/targets/connection_aws_ssm_fedora/aliases index 2f6a2beab2a..eb8e0b8914b 100644 --- a/tests/integration/targets/connection_aws_ssm_fedora/aliases +++ b/tests/integration/targets/connection_aws_ssm_fedora/aliases @@ -1,4 +1,4 @@ -time=20m +time=10m cloud/aws connection_aws_ssm diff --git a/tests/integration/targets/connection_aws_ssm_ssm_document/aliases b/tests/integration/targets/connection_aws_ssm_ssm_document/aliases index 2f6a2beab2a..eb8e0b8914b 100644 --- a/tests/integration/targets/connection_aws_ssm_ssm_document/aliases +++ b/tests/integration/targets/connection_aws_ssm_ssm_document/aliases @@ -1,4 +1,4 @@ -time=20m +time=10m cloud/aws connection_aws_ssm diff --git a/tests/integration/targets/connection_aws_ssm_ubuntu/aliases b/tests/integration/targets/connection_aws_ssm_ubuntu/aliases index 2f6a2beab2a..eb8e0b8914b 100644 --- a/tests/integration/targets/connection_aws_ssm_ubuntu/aliases +++ b/tests/integration/targets/connection_aws_ssm_ubuntu/aliases @@ -1,4 +1,4 @@ -time=20m +time=10m cloud/aws connection_aws_ssm diff --git a/tests/integration/targets/connection_aws_ssm_windows/aliases b/tests/integration/targets/connection_aws_ssm_windows/aliases index a9f7ce49d36..eb8e0b8914b 100644 --- a/tests/integration/targets/connection_aws_ssm_windows/aliases +++ b/tests/integration/targets/connection_aws_ssm_windows/aliases @@ -1,5 +1,4 @@ -time=20m +time=10m -unstable cloud/aws connection_aws_ssm diff --git a/tests/integration/targets/connection_aws_ssm_windows/aws_ssm_integration_test_setup.yml b/tests/integration/targets/connection_aws_ssm_windows/aws_ssm_integration_test_setup.yml index 4c8b6601e89..bc6bf3335d2 100644 --- a/tests/integration/targets/connection_aws_ssm_windows/aws_ssm_integration_test_setup.yml +++ b/tests/integration/targets/connection_aws_ssm_windows/aws_ssm_integration_test_setup.yml @@ -3,3 +3,4 @@ - role: ../setup_connection_aws_ssm vars: target_os: windows + wait_for_timeout: 200