summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/setup-openvswitch/tasks/controller.yml
diff options
context:
space:
mode:
authorramamani yeleswarapu <ramamani.yeleswarapu@intel.com>2018-04-16 17:00:59 -0700
committerramamani yeleswarapu <ramamani.yeleswarapu@intel.com>2018-05-08 11:21:22 -0700
commit1f9ff3030c19d60cb6c639cde8b394994da892f0 (patch)
treeae81994d40d5bf3c8a629fb529f3e6aaba2271eb /deploy/adapters/ansible/roles/setup-openvswitch/tasks/controller.yml
parent68a15541846c851b3309c014b0e28fa8502908c4 (diff)
Upgrade OpenStack version from Pike to Queens
Change-Id: Ice7b3204ade23571df41fc4effb91bb5e125abac Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/setup-openvswitch/tasks/controller.yml')
-rw-r--r--deploy/adapters/ansible/roles/setup-openvswitch/tasks/controller.yml20
1 files changed, 19 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/setup-openvswitch/tasks/controller.yml b/deploy/adapters/ansible/roles/setup-openvswitch/tasks/controller.yml
index 3637d1db..bb96b736 100644
--- a/deploy/adapters/ansible/roles/setup-openvswitch/tasks/controller.yml
+++ b/deploy/adapters/ansible/roles/setup-openvswitch/tasks/controller.yml
@@ -50,7 +50,25 @@
when:
- controller in item["role"]
+- name: configure interfaces ubuntu
+ template:
+ src: controller.j2
+ dest: /etc/network/interfaces
+ notify:
+ - restart network service
+
- name: start neutron-openvswitch-agent
service:
name: neutron-openvswitch-agent
- state: started
+ state: restarted
+
+- name: update keepalived
+ replace:
+ dest: /etc/keepalived/keepalived.conf
+ regexp: 'br-external'
+ replace: 'br-provider'
+
+- name: restart keepalived
+ service:
+ name: keepalived
+ state: restarted