mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
ec2_vol_facts: set filters to default value (#51589)
Fixes: #51554 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
@@ -49,6 +49,17 @@
|
||||
delete_on_termination: yes
|
||||
register: volume
|
||||
|
||||
- name: Gather volume info without any filters
|
||||
ec2_vol_facts:
|
||||
<<: *aws_connection_info
|
||||
register: volume_facts_wo_filters
|
||||
check_mode: no
|
||||
|
||||
- name: Check if facts are returned without filters
|
||||
assert:
|
||||
that:
|
||||
- "volume_facts_wo_filters.volumes is defined"
|
||||
|
||||
- name: Gather volume info
|
||||
ec2_vol_facts:
|
||||
<<: *aws_connection_info
|
||||
|
||||
Reference in New Issue
Block a user