summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorSteve Milner <smilner@redhat.com>2017-08-01 12:16:11 -0400
committerGiuseppe Scrivano <gscrivan@redhat.com>2017-08-03 17:20:52 +0200
commit39cf5084f18e2e0adca46b925660a6f2c38d227c (patch)
treecad5d3ddfd16bc9bd3fdfb24990b7641f6059572 /roles/openshift_node
parent302171a630655f943f581634a7b8283160feb564 (diff)
downloadopenshift-39cf5084f18e2e0adca46b925660a6f2c38d227c.tar.gz
openshift-39cf5084f18e2e0adca46b925660a6f2c38d227c.tar.bz2
openshift-39cf5084f18e2e0adca46b925660a6f2c38d227c.tar.xz
openshift-39cf5084f18e2e0adca46b925660a6f2c38d227c.zip
cri-o: Restart cri-o after openshift sdn installation
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index 6c3d10134..ca4fef360 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -66,6 +66,13 @@
- openshift.common.use_openshift_sdn | default(true) | bool
- not openshift.common.is_containerized | bool
+- name: Restart cri-o
+ systemd:
+ name: cri-o
+ enabled: yes
+ state: restarted
+ when: openshift_docker_use_crio | default(false)
+
- name: Install conntrack-tools package
package:
name: "conntrack-tools"