mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
[ec2-ami] Use required_if with state parameter (#32009)
* [ec2-ami] Use required_if with state parameter * Update failure msg on delete ami with no image_id task in integration test
This commit is contained in:
committed by
Sloane Hertel
parent
6203e899f0
commit
8a9a9b84dd
@@ -158,7 +158,7 @@
|
||||
assert:
|
||||
that:
|
||||
- "result.failed"
|
||||
- "result.msg == 'image_id needs to be an ami image to registered/delete'"
|
||||
- "result.msg == 'state is absent but the following are missing: image_id'"
|
||||
|
||||
# ============================================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user