mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-30 07:50:43 +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:
parent
c459f040da
commit
c20722474a
2 changed files with 13 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue