summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Milner <smilner@redhat.com>2017-07-06 15:38:54 -0400
committerSteve Milner <smilner@redhat.com>2017-07-06 16:06:06 -0400
commitd83482764004c0f3d24765a4946a0ebe632a7c2c (patch)
treebaea8c6c85dcd45558c29dc170bc8b9c332fb16f
parent99ff4fdca9a24a1d5e3953fc7836aee898e62101 (diff)
downloadopenshift-d83482764004c0f3d24765a4946a0ebe632a7c2c.tar.gz
openshift-d83482764004c0f3d24765a4946a0ebe632a7c2c.tar.bz2
openshift-d83482764004c0f3d24765a4946a0ebe632a7c2c.tar.xz
openshift-d83482764004c0f3d24765a4946a0ebe632a7c2c.zip
Install container-selinux with container-engine
-rw-r--r--roles/docker/tasks/systemcontainer_docker.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/docker/tasks/systemcontainer_docker.yml b/roles/docker/tasks/systemcontainer_docker.yml
index 650f06f86..1da8966d8 100644
--- a/roles/docker/tasks/systemcontainer_docker.yml
+++ b/roles/docker/tasks/systemcontainer_docker.yml
@@ -12,6 +12,12 @@
traditional docker package install. Otherwise, comment out openshift_docker_options
in your inventory file.
+- name: Ensure container-selinux is installed
+ package:
+ name: container-selinux
+ state: present
+ when: not openshift.common.is_atomic | bool
+
# Used to pull and install the system container
- name: Ensure atomic is installed
package: