From 88106ce626806455ccf8380d0e6a5a82b381a578 Mon Sep 17 00:00:00 2001 From: s-hertel Date: Wed, 27 Feb 2019 11:12:51 -0600 Subject: [PATCH] fix no_log indentation so AWS temporary credentials aren't displayed in tests (cherry picked from commit 6cacbcba665af685608253d16275d3bcf33dfa79) --- changelogs/fragments/aws_ec2_inventory_integration_tests.yaml | 2 ++ test/integration/targets/inventory_aws_ec2/playbooks/setup.yml | 2 +- .../targets/inventory_aws_ec2/playbooks/tear_down.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 changelogs/fragments/aws_ec2_inventory_integration_tests.yaml diff --git a/changelogs/fragments/aws_ec2_inventory_integration_tests.yaml b/changelogs/fragments/aws_ec2_inventory_integration_tests.yaml new file mode 100644 index 00000000000..bea52f434a2 --- /dev/null +++ b/changelogs/fragments/aws_ec2_inventory_integration_tests.yaml @@ -0,0 +1,2 @@ +bugfixes: + - inventory_aws_ec2 - fix no_log indentation so AWS temporary credentials aren't displayed in tests diff --git a/test/integration/targets/inventory_aws_ec2/playbooks/setup.yml b/test/integration/targets/inventory_aws_ec2/playbooks/setup.yml index 53a22140508..6f24e1cf3d2 100644 --- a/test/integration/targets/inventory_aws_ec2/playbooks/setup.yml +++ b/test/integration/targets/inventory_aws_ec2/playbooks/setup.yml @@ -5,7 +5,7 @@ aws_secret_key: '{{ aws_secret_key }}' security_token: '{{ security_token }}' region: '{{ aws_region }}' - no_log: yes + no_log: yes - name: get image ID to create an instance ec2_ami_facts: diff --git a/test/integration/targets/inventory_aws_ec2/playbooks/tear_down.yml b/test/integration/targets/inventory_aws_ec2/playbooks/tear_down.yml index 52cf2ac864c..4c8240e46db 100644 --- a/test/integration/targets/inventory_aws_ec2/playbooks/tear_down.yml +++ b/test/integration/targets/inventory_aws_ec2/playbooks/tear_down.yml @@ -5,7 +5,7 @@ aws_secret_key: '{{ aws_secret_key }}' security_token: '{{ security_token }}' region: '{{ aws_region }}' - no_log: yes + no_log: yes - name: remove setup security group ec2_group: