Add run_once to define calico pool task name

pull/372/head
Aleksandr Didenko 2016-07-27 15:55:41 +02:00
parent f94eb0b997
commit c52c5f5056
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@
when: nat_outgoing|default(false) and not peer_with_router|default(false) when: nat_outgoing|default(false) and not peer_with_router|default(false)
- name: Calico | Define calico pool task name - name: Calico | Define calico pool task name
run_once: true
set_fact: set_fact:
pool_task_name: "with options {{ ipip_arg|default('') }} {{ nat_arg|default('') }}" pool_task_name: "with options {{ ipip_arg|default('') }} {{ nat_arg|default('') }}"
when: ipip_arg|default(false) or nat_arg|default(false) when: ipip_arg|default(false) or nat_arg|default(false)