summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-07-20 08:47:20 -0400
committerGitHub <noreply@github.com>2017-07-20 08:47:20 -0400
commita6a0621d7b21e04c278f0a79e2c30dfec7b261d8 (patch)
tree9051e8ffa2cc73ef918044040f96d8f16d0cbc3a /roles/docker/tasks
parente432f8a35323e8603f0f58b70d996f7487703ec1 (diff)
parent2b1c7492c3c8400370bf675c93cc9ba4b4f83427 (diff)
downloadopenshift-a6a0621d7b21e04c278f0a79e2c30dfec7b261d8.tar.gz
openshift-a6a0621d7b21e04c278f0a79e2c30dfec7b261d8.tar.bz2
openshift-a6a0621d7b21e04c278f0a79e2c30dfec7b261d8.tar.xz
openshift-a6a0621d7b21e04c278f0a79e2c30dfec7b261d8.zip
Merge pull request #4757 from sosiouxme/20170703-docker-storage-overlay2
openshift_checks/docker_storage: overlay/2 support
Diffstat (limited to 'roles/docker/tasks')
-rw-r--r--roles/docker/tasks/package_docker.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/docker/tasks/package_docker.yml b/roles/docker/tasks/package_docker.yml
index 5f536005d..bc52ab60c 100644
--- a/roles/docker/tasks/package_docker.yml
+++ b/roles/docker/tasks/package_docker.yml
@@ -93,7 +93,7 @@
dest: /etc/sysconfig/docker
regexp: '^OPTIONS=.*$'
line: "OPTIONS='\
- {% if ansible_selinux.status | default(None) == '''enabled''' and docker_selinux_enabled | default(true) %} --selinux-enabled {% endif %}\
+ {% if ansible_selinux.status | default(None) == 'enabled' and docker_selinux_enabled | default(true) | bool %} --selinux-enabled {% endif %}\
{% if docker_log_driver is defined %} --log-driver {{ docker_log_driver }}{% endif %}\
{% if docker_log_options is defined %} {{ docker_log_options | oo_split() | oo_prepend_strings_in_list('--log-opt ') | join(' ')}}{% endif %}\
{% if docker_options is defined %} {{ docker_options }}{% endif %}\