Browse Source

Ensure true is lowercase in daemon.json

Steve Milner 8 years ago
parent
commit
95db943bd7

+ 1 - 0
roles/docker/tasks/systemcontainer_docker.yml

@@ -121,6 +121,7 @@
     l_docker_log_options: "{{ docker_log_options | default({}) | to_json }}"
     l_docker_additional_registries: "{{ docker_additional_registries | default([]) | to_json }}"
     l_docker_blocked_registries: "{{ docker_blocked_registries | default([]) | to_json }}"
+    l_docker_selinux_enabled: "{{ docker_selinux_enabled | default(true) | to_json }}"
 
 # Configure container-engine using the daemon.json file
 - name: Configure Container Engine

+ 1 - 1
roles/docker/templates/daemon.json

@@ -51,7 +51,7 @@
 	    "path": "/usr/libexec/docker/docker-runc-current"
 	}
     },
-    "selinux-enabled": {{ docker_selinux_enabled|default(true) }},
+    "selinux-enabled": {{ l_docker_selinux_enabled }},
     "storage-driver": "",
     "storage-opts": [],
     "tls": true,