[CI] Fix Ansible 2.16.14 breakage (cephadm jobs)

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

Change-Id: I194529c178efcff0cb2a0ee1e14273389cd8f87f
(cherry picked from commit 4e2af1872da2466843de1fa3ea639f2b79828663)
This commit is contained in:
Pierre Riteau 2024-12-08 21:12:59 +01:00
parent e040ab0b0b
commit bebcff7f09
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

@ -141,7 +141,7 @@ etcd_remove_deleted_members: "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