From 176aa5a42c3f03ece08fb87d8474c10551f0a384 Mon Sep 17 00:00:00 2001 From: Sven Kieske Date: Mon, 18 Dec 2023 19:15:38 +0100 Subject: [PATCH] CI: fix two ansible-lint warnings Signed-off-by: Sven Kieske Change-Id: I81a9b2dab7e9a4e2c8facaa0f32538f2884e3ca9 --- ansible/roles/cinder/tasks/precheck.yml | 2 +- ansible/roles/glance/tasks/precheck.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/cinder/tasks/precheck.yml b/ansible/roles/cinder/tasks/precheck.yml index 6bb50a7084..41c55673ab 100644 --- a/ansible/roles/cinder/tasks/precheck.yml +++ b/ansible/roles/cinder/tasks/precheck.yml @@ -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 diff --git a/ansible/roles/glance/tasks/precheck.yml b/ansible/roles/glance/tasks/precheck.yml index f1fd7d78af..362d62d908 100644 --- a/ansible/roles/glance/tasks/precheck.yml +++ b/ansible/roles/glance/tasks/precheck.yml @@ -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