From 830141329068683777ffcb0abb36415168c2ac20 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Thu, 6 Dec 2018 06:17:34 -0800 Subject: Enable downloading binaries and containers The *download_run_once* kubespray config option allows to download container images only once then push to cluster nodes and the *download_localhost* option makes the installer node a delegate for pushing images while running the deployment with ansible. These two options pretends to reduce the amount of traffic during the deployment time of the Kubernetes cluster. Change-Id: I8239cebbf5c322ed52ae0a0bc8774e5e33aada3c Signed-off-by: Victor Morales Issue-ID: MULTICLOUD-425 --- vagrant/playbooks/configure-nfd.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'vagrant/playbooks/configure-nfd.yml') diff --git a/vagrant/playbooks/configure-nfd.yml b/vagrant/playbooks/configure-nfd.yml index 26ad5497..d47a7bcc 100644 --- a/vagrant/playbooks/configure-nfd.yml +++ b/vagrant/playbooks/configure-nfd.yml @@ -46,10 +46,13 @@ - node-feature-discovery-daemonset.json.template - hosts: localhost - become: yes + pre_tasks: + - name: Load krd variables + include_vars: + file: krd-vars.yml roles: - role: andrewrothstein.kubectl - kubectl_ver: "v{{ kubectl_version }} + kubectl_ver: "v{{ kubectl_version }}" tasks: - name: create service accounts command: "/usr/local/bin/kubectl apply -f /tmp/{{ item }}" -- cgit 1.2.3-korg