1
0
Fork 0
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:
Abhijeet Kasurde 2019-02-07 21:53:25 +05:30 committed by GitHub
parent c459f040da
commit c20722474a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 4 deletions

View file

@ -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