diff options
| author | Mark Goddard <mark@stackhpc.com> | 2021-06-03 10:34:57 +0100 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2024-07-22 08:39:34 +0000 |
| commit | a42b0b5ed1c428ba1795eedac40239e56008b258 (patch) | |
| tree | d21ae702ac8bf353de0fc97453f6b8f73742d0cd /roles/cephadm | |
| parent | fc44651d6297b760e5e39bf6635a0cc22e341ce9 (diff) | |
| download | kolla-ansible-a42b0b5ed1c428ba1795eedac40239e56008b258.tar.gz kolla-ansible-a42b0b5ed1c428ba1795eedac40239e56008b258.zip | |
CI: test interface names with dashes
Interface names with dashes can cause problems in Ansible since dashes
are replaced with underscores when referencing facts.
Change-Id: Ib15f81120d353ebcf8965dc0aaba90f3a9b0ec44
Related-Bug: #1927357
Diffstat (limited to 'roles/cephadm')
| -rw-r--r-- | roles/cephadm/templates/cephadm.yml.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/cephadm/templates/cephadm.yml.j2 b/roles/cephadm/templates/cephadm.yml.j2 index 2aee3f819..b56466c4f 100644 --- a/roles/cephadm/templates/cephadm.yml.j2 +++ b/roles/cephadm/templates/cephadm.yml.j2 @@ -2,8 +2,8 @@ --- service_type: host hostname: {{ hostvars[host]['ansible_hostname'] }} -addr: {{ hostvars[host]['ansible_vxlan0']['ipv4']['address'] }} -labels: +addr: {{ hostvars[host]['ansible_vxlan_0']['ipv4']['address'] }} +labels: - _admin - mon - mgr |
