summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2016-12-14 13:30:34 -0500
committerRussell Teague <rteague@redhat.com>2017-01-24 10:43:17 -0500
commit4397b6e3dbfbc6bed8f7b653ba1b6093dbe51f5c (patch)
tree8b3f5c3ae93deb195412aa2ea50124947e464328 /playbooks
parent77656036572baa6abfefd7d467f25033d1fb81b0 (diff)
downloadopenshift-4397b6e3dbfbc6bed8f7b653ba1b6093dbe51f5c.tar.gz
openshift-4397b6e3dbfbc6bed8f7b653ba1b6093dbe51f5c.tar.bz2
openshift-4397b6e3dbfbc6bed8f7b653ba1b6093dbe51f5c.tar.xz
openshift-4397b6e3dbfbc6bed8f7b653ba1b6093dbe51f5c.zip
Add new option 'openshift_docker_selinux_enabled'
Allows controlling 'selinux-enabled' docker options Can be set to true or false
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-cluster/config.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/config.yml b/playbooks/common/openshift-cluster/config.yml
index 0f226f5f9..a95cb68b7 100644
--- a/playbooks/common/openshift-cluster/config.yml
+++ b/playbooks/common/openshift-cluster/config.yml
@@ -38,6 +38,9 @@
- set_fact:
openshift_docker_log_options: "{{ lookup('oo_option', 'docker_log_options') }}"
when: openshift_docker_log_options is not defined
+ - set_fact:
+ openshift_docker_selinux_enabled: "{{ lookup('oo_option', 'docker_selinux_enabled') }}"
+ when: openshift_docker_selinux_enabled is not defined
- include: ../openshift-etcd/config.yml
tags: