Skip to content

Commit

Permalink
Add check_mode support
Browse files Browse the repository at this point in the history
  • Loading branch information
mandar242 committed Mar 31, 2022
1 parent bd129bb commit 692b474
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 692b474

Please sign in to comment.