From 692b4743114af7311556d29289ca9f39d76fe481 Mon Sep 17 00:00:00 2001 From: mandar242 Date: Wed, 30 Mar 2022 08:06:43 -0700 Subject: [PATCH] Add check_mode support --- .../ec2_asg/roles/ec2_asg/tasks/create_update_delete.yml | 2 +- .../targets/ec2_asg/roles/ec2_asg/tasks/instance_detach.yml | 4 ++-- .../targets/ec2_asg/roles/ec2_asg/tasks/tag_operations.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/targets/ec2_asg/roles/ec2_asg/tasks/create_update_delete.yml b/tests/integration/targets/ec2_asg/roles/ec2_asg/tasks/create_update_delete.yml index fe1470c80c5..f37c37f90f1 100644 --- a/tests/integration/targets/ec2_asg/roles/ec2_asg/tasks/create_update_delete.yml +++ b/tests/integration/targets/ec2_asg/roles/ec2_asg/tasks/create_update_delete.yml @@ -415,7 +415,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/roles/ec2_asg/tasks/instance_detach.yml b/tests/integration/targets/ec2_asg/roles/ec2_asg/tasks/instance_detach.yml index 955a1e29913..825819c883d 100644 --- a/tests/integration/targets/ec2_asg/roles/ec2_asg/tasks/instance_detach.yml +++ b/tests/integration/targets/ec2_asg/roles/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/roles/ec2_asg/tasks/tag_operations.yml b/tests/integration/targets/ec2_asg/roles/ec2_asg/tasks/tag_operations.yml index e6770c738e5..500969a4fb7 100644 --- a/tests/integration/targets/ec2_asg/roles/ec2_asg/tasks/tag_operations.yml +++ b/tests/integration/targets/ec2_asg/roles/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: