From b5cd82b2ec6f4fe69eae27f70eb3b5eda52da368 Mon Sep 17 00:00:00 2001 From: Michal Zegan Date: Fri, 4 Jan 2019 14:20:03 +0100 Subject: Fix docker config handling in offline installer This fixes adding of dns address to /etc/docker/daemon.json to always use infra's ip address instead of possibly using it's hostname. Also similar change is done in handling of /etc/resolv.conf in infrastructure.yml. Ip address is specified by the "cluster_ip" variable placed on a host. Inventory specifies ip for everything except resource server (just for consistency). Change-Id: I2baa3f4c7d69b8dff109b5f8ae984134caf2af7d Issue-ID: OOM-1573 Signed-off-by: Michal Zegan --- ansible/docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) (limited to 'ansible/docker/Dockerfile') diff --git a/ansible/docker/Dockerfile b/ansible/docker/Dockerfile index b0172709..4cefa8b7 100644 --- a/ansible/docker/Dockerfile +++ b/ansible/docker/Dockerfile @@ -24,6 +24,7 @@ RUN apk --no-cache update \ && pip3 install --no-cache-dir \ ansible==$ansible_version \ jmespath \ + netaddr \ && apk del build-dependencies && rm -rf /var/cache/apk/* ENV ANSIBLE_HOST_KEY_CHECKING false -- cgit 1.2.3-korg