aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-servers-1.yml
blob: e2dd128d91860f725eb4db00fb336131ec1538a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---

- name: install crudini
  package:
    name: crudini
    state: latest

- name: install networking-odl
  pip:
    name: networking-odl
    version: "{{ networking_odl_version }}"
    virtualenv: /openstack/venvs/neutron-15.1.4    # Todo: hardcode, need to modify

- name: install networking-sfc
  pip:
    name: networking-sfc
    version: "4.0.0"
    virtualenv: /openstack/venvs/neutron-15.1.4
  when: odl_sfc == "Enable"

- name: turn off neutron-server on control node
  service: name=neutron-server state=stopped