aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/odl_sfc/roles/sfc-pre/tasks/Ubuntu.yml
blob: 2a59c248ee9a02b613c36446204a1baaecdea5c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
##############################################################################
# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
- name: add ovs-nsh repo
  apt_repository:
    repo: "ppa:mardim/mardim-ppa"
    update_cache: "True"
    state: "present"

- name: install ovs packages
  package:
    name: "{{ item }}"
    state: "present"
  with_items:
    - "openvswitch-datapath-dkms"
    - "openvswitch-common"
    - "openvswitch-switch"
    - "python-openvswitch"