{%- if taskserv.name == "kubernetes" %} 
# Main Ip for node should be in same K8S_MASTER network
# Be sure MAIN_IP is alive and reachable 
{% if taskserv.cp_ip == "$network_private_ip" %}
MAIN_IP="{{server.network_private_ip}}"
{% elif taskserv.cp_ip == "$network_public_ip" and server.ip_addresses.pub -%} 
MAIN_IP={{server.ip_addresses.pub}}
{%- else %}
MAIN_IP=""
{%- endif %}
ADMIN_USER="{{taskserv.admin_user}}"
TARGET_PATH="{{taskserv.target_path}}"
{%- endif %}
