From 8c4060b727cb8387d44f56c3a496e814ffef42cb Mon Sep 17 00:00:00 2001 From: mandar242 Date: Wed, 30 Mar 2022 08:06:43 -0700 Subject: [PATCH] Add check_mode support --- tests/integration/targets/ec2_asg/tasks/instance_detach.yml | 4 ++-- tests/integration/targets/ec2_asg/tasks/main.yml | 2 +- tests/integration/targets/ec2_asg/tasks/tag_operations.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/targets/ec2_asg/tasks/instance_detach.yml b/tests/integration/targets/ec2_asg/tasks/instance_detach.yml index 5cecfdb27a5..5d75c6bed6a 100644 --- a/tests/integration/targets/ec2_asg/tasks/instance_detach.yml +++ b/tests/integration/targets/ec2_asg/tasks/instance_detach.yml @@ -19,7 +19,7 @@ #---------------------------------------------------------------------- - - name: create a AutoScalingGroup to be used for instance_detach test + - name: create a AutoScalingGroup to be used for instance_detach test - check_mode ec2_asg: name: "{{ resource_prefix }}-asg-detach-test" launch_config_name: "{{ resource_prefix }}-lc-detach-test" @@ -89,7 +89,7 @@ #---------------------------------------------------------------------- - - name: detach 2 instance from the asg and replace with other instances + - name: detach 2 instance from the asg and replace with other instances - check_mode ec2_asg: name: "{{ resource_prefix }}-asg-detach-test" launch_config_name: "{{ resource_prefix }}-lc-detach-test" diff --git a/tests/integration/targets/ec2_asg/tasks/main.yml b/tests/integration/targets/ec2_asg/tasks/main.yml index efce187b653..f50e0683fd8 100644 --- a/tests/integration/targets/ec2_asg/tasks/main.yml +++ b/tests/integration/targets/ec2_asg/tasks/main.yml @@ -493,7 +493,7 @@ groups: - "{{ sg.group_id }}" - - name: update autoscaling group with mixed-instances policy with mixed instances types + - name: update autoscaling group with mixed-instances policy with mixed instances types - check_mode ec2_asg: name: "{{ resource_prefix }}-asg" launch_template: diff --git a/tests/integration/targets/ec2_asg/tasks/tag_operations.yml b/tests/integration/targets/ec2_asg/tasks/tag_operations.yml index e6770c738e5..500969a4fb7 100644 --- a/tests/integration/targets/ec2_asg/tasks/tag_operations.yml +++ b/tests/integration/targets/ec2_asg/tasks/tag_operations.yml @@ -49,7 +49,7 @@ that: - info_result.results[0].tags | length == 0 - - name: Tag asg + - name: Tag asg - check_mode ec2_asg: name: "{{ resource_prefix }}-asg-tag-test" tags: