CI: fix two ansible-lint warnings

Signed-off-by: Sven Kieske <kieske@osism.tech>
Change-Id: I81a9b2dab7e9a4e2c8facaa0f32538f2884e3ca9
This commit is contained in:
Sven Kieske 2023-12-18 19:15:38 +01:00
parent d05a1560bc
commit 176aa5a42c
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@
assert:
that:
- vars[item] is defined
msg: "Cinder backup S3 backend is enabled, either the {{ item }} or {{ item | replace('cinder_backup_','') }} variable must be defined."
msg: "Cinder backup S3 backend is enabled, either the {{ item }} or {{ item | replace('cinder_backup_', '') }} variable must be defined."
with_items:
- cinder_backup_s3_url
- cinder_backup_s3_bucket

View File

@ -29,7 +29,7 @@
assert:
that:
- vars[item] is defined
msg: "Glance S3 backend is enabled, either the {{ item }} or {{ item | replace('glance_backend_','') }} variable must be defined."
msg: "Glance S3 backend is enabled, either the {{ item }} or {{ item | replace('glance_backend_', '') }} variable must be defined."
with_items:
- glance_backend_s3_url
- glance_backend_s3_bucket