From c7b7ff56ab5365e74a5a6516b64a0a86a8218d12 Mon Sep 17 00:00:00 2001 From: Steve Milner Date: Thu, 19 Oct 2017 11:29:19 -0400 Subject: systemcontainers: Verify atomic.conf proxy is always configured A new openshift_atomic role has been created for atomic specific tasks. The first task added is proxy which handles updating /etc/atomic.conf to ensure the proper proxy configuration is configured. This task file is then included (via include_role) in system container related task files. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1503903 Signed-off-by: Steve Milner --- roles/openshift_master/tasks/system_container.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'roles/openshift_master') diff --git a/roles/openshift_master/tasks/system_container.yml b/roles/openshift_master/tasks/system_container.yml index 91332acfb..843352532 100644 --- a/roles/openshift_master/tasks/system_container.yml +++ b/roles/openshift_master/tasks/system_container.yml @@ -1,4 +1,9 @@ --- +- name: Ensure proxies are in the atomic.conf + include_role: + name: openshift_atomic + tasks_from: proxy + - name: Pre-pull master system container image command: > atomic pull --storage=ostree {{ 'docker:' if openshift.common.system_images_registry == 'docker' else openshift.common.system_images_registry + '/' }}{{ openshift.master.master_system_image }}:{{ openshift_image_tag }} -- cgit v1.2.1