summaryrefslogtreecommitdiffstats
path: root/roles/contiv/tasks/pkgMgrInstallers/centos-install.yml
blob: 51c3d35aca7ab6225fef29b1648fa065df43ea8e (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
25
26
27
28
29
30
31
32
33
---
- name: PkgMgr CentOS | Install net-tools pkg for route
  yum:
    pkg=net-tools
    state=latest

- name: PkgMgr CentOS | Get openstack kilo rpm
  get_url:
    url: https://repos.fedorapeople.org/repos/openstack/openstack-kilo/rdo-release-kilo-2.noarch.rpm
    dest: /tmp/rdo-release-kilo-2.noarch.rpm
    validate_certs: False
  environment:
    http_proxy: "{{ http_proxy|default('') }}"
    https_proxy: "{{ https_proxy|default('') }}"
    no_proxy: "{{ no_proxy|default('') }}"
  tags:
    - ovs_install

- name: PkgMgr CentOS | Install openstack kilo rpm
  yum: name=/tmp/rdo-release-kilo-2.noarch.rpm state=present
  tags:
    - ovs_install

- name: PkgMgr CentOS | Install ovs
  yum:
    pkg=openvswitch
    state=latest
  environment:
    http_proxy: "{{ http_proxy|default('') }}"
    https_proxy: "{{ https_proxy|default('') }}"
    no_proxy: "{{ no_proxy|default('') }}"
  tags:
    - ovs_install