mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 14:21:26 -07:00
* ec2_group: do not fail on description mismatch (#31704) * ec2_group: do not fail on description mismatch (#31704) - fix test case
This commit is contained in:
parent
1b63885fc5
commit
b9223cdc89
2 changed files with 6 additions and 6 deletions
|
@ -682,8 +682,8 @@ def main():
|
|||
if group:
|
||||
# existing group
|
||||
if group['Description'] != description:
|
||||
module.fail_json(
|
||||
msg="Group description does not match existing group. ec2_group does not support this case.")
|
||||
module.warn("Group description does not match existing group. Descriptions cannot be changed without deleting "
|
||||
"and re-creating the security group. Try using state=absent to delete, then rerunning this task.")
|
||||
|
||||
# if the group doesn't exist, create it now
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue