summaryrefslogtreecommitdiffstats
path: root/roles/etcd/tasks
diff options
context:
space:
mode:
authorSteve Milner <smilner@redhat.com>2017-10-19 11:29:19 -0400
committerSteve Milner <smilner@redhat.com>2017-10-19 11:29:19 -0400
commitc7b7ff56ab5365e74a5a6516b64a0a86a8218d12 (patch)
tree2a3bb0b35dc78eec992570278bbfae3daf2edbc4 /roles/etcd/tasks
parent61cca52ea383d75aa4c20cf0e96936a5188084e9 (diff)
downloadopenshift-c7b7ff56ab5365e74a5a6516b64a0a86a8218d12.tar.gz
openshift-c7b7ff56ab5365e74a5a6516b64a0a86a8218d12.tar.bz2
openshift-c7b7ff56ab5365e74a5a6516b64a0a86a8218d12.tar.xz
openshift-c7b7ff56ab5365e74a5a6516b64a0a86a8218d12.zip
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 <smilner@redhat.com>
Diffstat (limited to 'roles/etcd/tasks')
-rw-r--r--roles/etcd/tasks/system_container.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/etcd/tasks/system_container.yml b/roles/etcd/tasks/system_container.yml
index 024479fb4..9a6951920 100644
--- a/roles/etcd/tasks/system_container.yml
+++ b/roles/etcd/tasks/system_container.yml
@@ -2,6 +2,11 @@
- set_fact:
l_etcd_src_data_dir: "{{ '/var/lib/origin/openshift.local.etcd' if r_etcd_common_embedded_etcd | bool else '/var/lib/etcd/' }}"
+- name: Ensure proxies are in the atomic.conf
+ include_role:
+ name: openshift_atomic
+ tasks_from: proxy
+
- name: Pull etcd system container
command: atomic pull --storage=ostree {{ openshift.etcd.etcd_image }}
register: pull_result