blob: 2c82973d656ab46bc90fa7fdd748e0ae291e2773 (
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
34
35
36
37
38
39
|
---
- name: PkgMgr RHEL/CentOS | Install net-tools pkg for route
yum:
pkg=net-tools
state=latest
register: result
until: result is succeeded
- name: PkgMgr RHEL/CentOS | Get openstack ocata rpm
get_url:
url: https://repos.fedorapeople.org/repos/openstack/openstack-ocata/rdo-release-ocata-2.noarch.rpm
dest: /tmp/rdo-release-ocata-2.noarch.rpm
validate_certs: False
environment:
http_proxy: "{{ contiv_http_proxy|default('') }}"
https_proxy: "{{ contiv_https_proxy|default('') }}"
no_proxy: "{{ contiv_no_proxy|default('') }}"
tags:
- ovs_install
- name: PkgMgr RHEL/CentOS | Install openstack ocata rpm
yum: name=/tmp/rdo-release-ocata-2.noarch.rpm state=present
tags:
- ovs_install
register: result
until: result is succeeded
- name: PkgMgr RHEL/CentOS | Install ovs
yum:
pkg=openvswitch
state=present
environment:
http_proxy: "{{ contiv_http_proxy|default('') }}"
https_proxy: "{{ contiv_https_proxy|default('') }}"
no_proxy: "{{ contiv_no_proxy|default('') }}"
tags:
- ovs_install
register: result
until: result is succeeded
|