From c52c5f5056f29ac7e650c46f4a30914ffb5473c5 Mon Sep 17 00:00:00 2001
From: Aleksandr Didenko <adidenko@mirantis.com>
Date: Wed, 27 Jul 2016 15:55:41 +0200
Subject: [PATCH] Add run_once to define calico pool task name

---
 roles/network_plugin/calico/tasks/main.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/roles/network_plugin/calico/tasks/main.yml b/roles/network_plugin/calico/tasks/main.yml
index 4a568fbc2..a815feecf 100644
--- a/roles/network_plugin/calico/tasks/main.yml
+++ b/roles/network_plugin/calico/tasks/main.yml
@@ -63,6 +63,7 @@
   when: nat_outgoing|default(false) and not peer_with_router|default(false)
 
 - name: Calico | Define calico pool task name
+  run_once: true
   set_fact:
     pool_task_name: "with options {{ ipip_arg|default('') }} {{ nat_arg|default('') }}"
   when: ipip_arg|default(false) or nat_arg|default(false)
-- 
GitLab