aboutsummaryrefslogtreecommitdiff
path: root/roles/multi-node-vxlan-overlay
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2026-03-23 11:46:48 +0100
committerMichal Nasiadka <mnasiadka@gmail.com>2026-03-24 05:36:30 +0000
commit91c8dbbe28c85a81b1bc74dc3e46b5769dc88222 (patch)
tree653f3428163d3b169e3044be46ef75483abbf19c /roles/multi-node-vxlan-overlay
parente3784e9ce19cd45ad16a1f8d1fc773d2aad83ea8 (diff)
downloadkolla-ansible-91c8dbbe28c85a81b1bc74dc3e46b5769dc88222.tar.gz
kolla-ansible-91c8dbbe28c85a81b1bc74dc3e46b5769dc88222.zip
ansible-lint: Fix fqcn[actions-core] for internal roles
Change-Id: I670728bafe597d180b208278c0f87846188edc3c Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'roles/multi-node-vxlan-overlay')
-rw-r--r--roles/multi-node-vxlan-overlay/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/multi-node-vxlan-overlay/tasks/main.yml b/roles/multi-node-vxlan-overlay/tasks/main.yml
index 27ae67bab..9855df21e 100644
--- a/roles/multi-node-vxlan-overlay/tasks/main.yml
+++ b/roles/multi-node-vxlan-overlay/tasks/main.yml
@@ -1,20 +1,20 @@
---
# Not all variables have sensible defaults, let's ensure these are set.
- name: Ensure mandatory variables are defined
- assert:
+ ansible.builtin.assert:
that:
- vxlan_interface_name is defined
- vxlan_vni is defined
- name: Set VXLAN interface facts
- set_fact:
+ ansible.builtin.set_fact:
tunnel_local_address: "{{ nodepool.private_ipv4 if nodepool.private_ipv4 | length > 0 else nodepool.public_ipv4 }}"
# We have had cases where the nodepool private or public IP address is not assigned,
# which causes hard to diagnose errors later on. Catch it early.
- name: Assert that the nodepool private or public IPv4 address is assigned
- assert:
+ ansible.builtin.assert:
that: tunnel_local_address in ansible_all_ipv4_addresses
fail_msg: >-
The nodepool private/public IP address {{ tunnel_local_address }} is not assigned