From d8916bea8822b6f828d90fd85b026a32070a5883 Mon Sep 17 00:00:00 2001 From: Steve Milner Date: Sun, 14 May 2017 10:32:24 -0400 Subject: Add NO_PROXY workaround for container-engine atomic command Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1450310 --- roles/docker/tasks/systemcontainer_docker.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'roles/docker') diff --git a/roles/docker/tasks/systemcontainer_docker.yml b/roles/docker/tasks/systemcontainer_docker.yml index 44f56aede..e5576d515 100644 --- a/roles/docker/tasks/systemcontainer_docker.yml +++ b/roles/docker/tasks/systemcontainer_docker.yml @@ -96,9 +96,13 @@ set_fact: l_docker_image: "{{ l_docker_image_prepend }}/{{ openshift.docker.service_name }}:latest" +# NOTE: no_proxy added as a workaround until https://github.com/projectatomic/atomic/pull/999 is released - name: Pre-pull Container Enginer System Container image command: "atomic pull --storage ostree {{ l_docker_image }}" changed_when: false + environment: + NO_PROXY: "{{ openshift.common.no_proxy | default('') }}" + - name: Ensure container-engine.service.d directory exists file: -- cgit v1.2.3