Add run_once to define calico pool task name

This commit is contained in:
Aleksandr Didenko 2016-07-27 15:55:41 +02:00
parent f94eb0b997
commit c52c5f5056

View file

@ -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)