diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-05-10 08:46:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-05-10 08:46:11 +0000 |
commit | 729a1cc3924f0fb33e00bfebe1f7bfda05606578 (patch) | |
tree | a81e0cbfec8cde8afd69a9043a362b7a84b6465f /deploy/adapters/ansible/roles/setup-openvswitch/tasks/controller.yml | |
parent | aedfece7bd93b01e58ce51248c437ee9e2565f51 (diff) | |
parent | 1f9ff3030c19d60cb6c639cde8b394994da892f0 (diff) |
Merge "Upgrade OpenStack version from Pike to Queens"
Diffstat (limited to 'deploy/adapters/ansible/roles/setup-openvswitch/tasks/controller.yml')
-rw-r--r-- | deploy/adapters/ansible/roles/setup-openvswitch/tasks/controller.yml | 20 |
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 |