Use module defaults groups in ci integration tests to reduce code bloat

Change-Id: I1370f5bcde602f63b4763c487f027677e79c73b0
This commit is contained in:
Jakob Meng
2022-10-05 21:11:16 +02:00
parent d0ac32eefd
commit cd002a5555
6 changed files with 123 additions and 123 deletions

View File

@@ -1,5 +1,8 @@
---
- module_defaults:
group/openstack.cloud.openstack:
cloud: "{{ cloud }}"
# Backward compatibility with Ansible 2.9
openstack.cloud.object_container:
cloud: "{{ cloud }}"
block:
@@ -57,4 +60,4 @@
openstack.cloud.object_container:
container: "{{ container_name }}"
state: absent
ignore_errors: yes
ignore_errors: yes