Browse Source

Remove newline from docker_options template string.

Andrew Butcher 9 years ago
parent
commit
72916736e5
1 changed files with 1 additions and 3 deletions
  1. 1 3
      roles/openshift_docker_facts/tasks/main.yml

+ 1 - 3
roles/openshift_docker_facts/tasks/main.yml

@@ -32,9 +32,7 @@
     docker_no_proxy: "{{ openshift.common.no_proxy | default(omit) }}"
 
 - set_fact:
-    docker_options: >
-      --insecure-registry={{ openshift.docker.hosted_registry_network }}
-      {{ openshift.docker.options | default ('') }}
+    docker_options: "--insecure-registry={{ openshift.docker.hosted_registry_network }} {{ openshift.docker.options | default ('') }}"
   when: openshift.docker.hosted_registry_insecure | default(False) | bool and openshift.docker.hosted_registry_network is defined
 
 - set_fact: