summaryrefslogtreecommitdiffstats
path: root/roles/docker
diff options
context:
space:
mode:
authorManjunath A Kumatagi <mkumatag@in.ibm.com>2016-08-18 04:58:16 -0700
committerManjunath A Kumatagi <mkumatag@in.ibm.com>2016-08-18 04:58:16 -0700
commit26b0e3b6e7771b120e7ee1970e05f14a9c3c80d1 (patch)
tree6d70752902c36e3df148d292b91dd16dc0cdc977 /roles/docker
parenta89148a30b1f9cfebea60d13f7d7c10ffed3f8de (diff)
downloadopenshift-26b0e3b6e7771b120e7ee1970e05f14a9c3c80d1.tar.gz
openshift-26b0e3b6e7771b120e7ee1970e05f14a9c3c80d1.tar.bz2
openshift-26b0e3b6e7771b120e7ee1970e05f14a9c3c80d1.tar.xz
openshift-26b0e3b6e7771b120e7ee1970e05f14a9c3c80d1.zip
Fix typo
Diffstat (limited to 'roles/docker')
-rw-r--r--roles/docker/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml
index dfe25e6a4..a6751e882 100644
--- a/roles/docker/tasks/main.yml
+++ b/roles/docker/tasks/main.yml
@@ -67,7 +67,7 @@
dest: /etc/sysconfig/docker
regexp: '^{{ item.reg_conf_var }}=.*$'
line: "{{ item.reg_conf_var }}='{{ item.reg_fact_val | oo_prepend_strings_in_list(item.reg_flag ~ ' ') | join(' ') }}'"
- when: item.reg_fact_val != '' and (docker_check.stat.isreg is define and docker_check.stat.isreg)
+ when: item.reg_fact_val != '' and (docker_check.stat.isreg is defined and docker_check.stat.isreg)
with_items:
- reg_conf_var: ADD_REGISTRY
reg_fact_val: "{{ docker_additional_registries | default(None, true)}}"
@@ -97,7 +97,7 @@
notify:
- restart docker
when:
- - (docker_check.stat.isreg is define and docker_check.stat.isreg) and "{{ 'http_proxy' in openshift.common or 'https_proxy' in openshift.common }}"
+ - (docker_check.stat.isreg is defined and docker_check.stat.isreg) and "{{ 'http_proxy' in openshift.common or 'https_proxy' in openshift.common }}"
- name: Set various Docker options
lineinfile:
@@ -109,7 +109,7 @@
{% 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 %}\
{% if docker_disable_push_dockerhub is defined %} --confirm-def-push={{ docker_disable_push_dockerhub | bool }}{% endif %}'"
- when: docker_check.stat.isreg is define and docker_check.stat.isreg
+ when: docker_check.stat.isreg is defined and docker_check.stat.isreg
notify:
- restart docker