aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant/playbooks/configure-krd.yml
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-12-06 06:17:34 -0800
committerVictor Morales <victor.morales@intel.com>2018-12-07 00:50:18 -0800
commit830141329068683777ffcb0abb36415168c2ac20 (patch)
treeae745f344c07f68d3c3fdcd249489524b92d23bb /vagrant/playbooks/configure-krd.yml
parentf19da653ff0b1e7a45e8ba66c1a8458390566b1b (diff)
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 <victor.morales@intel.com> Issue-ID: MULTICLOUD-425
Diffstat (limited to 'vagrant/playbooks/configure-krd.yml')
-rw-r--r--vagrant/playbooks/configure-krd.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vagrant/playbooks/configure-krd.yml b/vagrant/playbooks/configure-krd.yml
index c8146ed8..22e6419f 100644
--- a/vagrant/playbooks/configure-krd.yml
+++ b/vagrant/playbooks/configure-krd.yml
@@ -12,5 +12,5 @@
tasks:
- name: copy admin.conf file to kube-nodes
copy:
- src: "{{ ansible_env.HOME}}/.kube/config"
+ src: "{{ lookup('env','krd_inventory_folder') }}/artifacts/admin.conf"
dest: "/etc/kubernetes/admin.conf"