aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml')
-rw-r--r--plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml b/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml
index 8fd1109..f63edea 100644
--- a/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml
+++ b/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-tacker-1.yml
@@ -5,3 +5,9 @@
name: networking-sfc
virtualenv: /openstack/venvs/tacker-{{ os_ver }}
when: odl_sfc == "Enable"
+
+- name: stop the other two tacker servers
+ service:
+ name: tacker-server
+ state: stopped
+ when: inventory_hostname != groups['tacker_all'][0]