osbs: add cni config
This commit is contained in:
parent
d3113ba8ee
commit
91c758e73f
1 changed files with 15 additions and 0 deletions
|
@ -194,6 +194,21 @@
|
||||||
- name: enable nrpe for monitoring (noc01)
|
- name: enable nrpe for monitoring (noc01)
|
||||||
iptables: action=insert chain=INPUT destination_port=5666 protocol=tcp source=10.3.163.10 state=present jump=ACCEPT
|
iptables: action=insert chain=INPUT destination_port=5666 protocol=tcp source=10.3.163.10 state=present jump=ACCEPT
|
||||||
|
|
||||||
|
- name: make directory for cni config
|
||||||
|
file:
|
||||||
|
path: /etc/cni/net.d/
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: Add cni config
|
||||||
|
copy:
|
||||||
|
dest: /etc/cni/net.d/80-openshift-network.conf
|
||||||
|
content: |
|
||||||
|
{
|
||||||
|
"cniVersion": "0.2.0",
|
||||||
|
"name": "openshift-sdn",
|
||||||
|
"type": "openshift-sdn"
|
||||||
|
}
|
||||||
|
|
||||||
- name: Set ulimit for docker
|
- name: Set ulimit for docker
|
||||||
copy:
|
copy:
|
||||||
dest: /etc/systemd/system/docker.service.d/override.conf
|
dest: /etc/systemd/system/docker.service.d/override.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue