blob: 5c92e90e9cb45d37991c3d3aec79c70a00baf43d (
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
|
---
- include_tasks: packageManagerInstall.yml
when: source_type == "packageManager"
tags:
- binary-update
- name: OVS | Configure selinux for ovs
command: "semanage permissive -a openvswitch_t"
- name: OVS | Enable ovs
service:
name: openvswitch
enabled: yes
- name: OVS | Start ovs
service:
name: openvswitch
state: started
register: ovs_started
- name: OVS | Configure ovs
command: "ovs-vsctl set-manager {{ item }}"
with_items:
- "tcp:127.0.0.1:6640"
- "ptcp:6640"
- name: OVS | Configure ovsdb-server
command: "ovs-appctl -t ovsdb-server ovsdb-server/add-remote ptcp:6640"
|