[CI] Fix Ansible 2.16.14 breakage (cephadm jobs)

This is a follow up to Ie7ae47e5a624da31cf6cc5cd3c9239450487b8ed, but
for cephadm jobs.

Change-Id: I194529c178efcff0cb2a0ee1e14273389cd8f87f
This commit is contained in:
Pierre Riteau 2024-12-08 21:12:59 +01:00
parent 0298699a4b
commit 4e2af1872d
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
[storage]
{% for host in hostvars %}
{% for host in hostvars | reject('equalto', 'localhost') %}
{{ host }} ansible_host={{ hostvars[host]['ansible_host'] }}
{% endfor %}

View File

@ -150,7 +150,7 @@ enable_redis: "yes"
enable_ceph_rgw: "yes"
ceph_rgw_hosts:
{% for host in hostvars %}
{% for host in hostvars | reject('equalto', 'localhost') %}
- host: {{ host }}
ip: {{ hostvars[host]['ansible_host'] }}
port: 6780