summaryrefslogtreecommitdiff
path: root/roles/tfe
diff options
context:
space:
mode:
authorzhangzhihan <[email protected]>2020-03-28 12:59:59 +0800
committerzhangzhihan <[email protected]>2020-03-28 12:59:59 +0800
commitcfca4e5d64f732efd683d59a7eb68286bb95377c (patch)
tree58a386e7fa240286f423d550c56d9e01b07dd349 /roles/tfe
parentbf5a401af9137e6cdc8259c2285aa6beaf0b4317 (diff)
改进双臂部署部分内容
Diffstat (limited to 'roles/tfe')
-rw-r--r--roles/tfe/templates/tfe-env-config.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/tfe/templates/tfe-env-config.j2 b/roles/tfe/templates/tfe-env-config.j2
index aa4a656..e00dff2 100644
--- a/roles/tfe/templates/tfe-env-config.j2
+++ b/roles/tfe/templates/tfe-env-config.j2
@@ -6,6 +6,6 @@ TFE_LOCAL_IP_DATA_INCOMING=172.16.241.2
TFE_PEER_IP_DATA_INCOMING=172.16.241.1
{% if run_as_tun_mode %}
-TFE_WATCHDOG_DEVICE=lo
-TFE_WATCHDOG_IP=127.0.0.1
-{% endif %} \ No newline at end of file
+TFE_WATCHDOG_DEVICE={{ nic_inner_ctrl.name }}
+TFE_WATCHDOG_IP=192.168.100.1
+{% endif %}