From 521043ddd13b2aacda7f670da7bf40f5d1b9efad Mon Sep 17 00:00:00 2001
From: Aleksandr Kurbatov <ak@geant.org>
Date: Thu, 1 May 2025 13:06:04 +0100
Subject: [PATCH] always compile the template

---
 geant/gap_ansible/roles/edge_port/tasks/compile.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geant/gap_ansible/roles/edge_port/tasks/compile.yaml b/geant/gap_ansible/roles/edge_port/tasks/compile.yaml
index 0cdaff1a..3b47ff32 100644
--- a/geant/gap_ansible/roles/edge_port/tasks/compile.yaml
+++ b/geant/gap_ansible/roles/edge_port/tasks/compile.yaml
@@ -7,7 +7,7 @@
     ansible_connection: local
 
 - name: Print the template in "{{ play_storage_path }}/edge_port_{{ verb }}.conf"
-  when: verb == "create"
+  when: verb in verbs
   ansible.builtin.template:
     src: "{{ router.vendor }}/edge_port_{{ verb }}.j2"
     dest: "{{ play_storage_path }}/edge_port_{{ verb }}.conf"
-- 
GitLab