zuul-jobs/roles/install-kubernetes/tasks/main.yaml
Mohammed Naser ffe0738f60 install-kubernetes: install lz4 packages
minikube has added a new "feature" which pre-loads a blob of data
with everything it needs that we can't disable, with a fallback.

we're currently downloading ~500MB and failing to use it because
it's compressed by lz4 which we don't have in images, this change
adds that to the package list.

Change-Id: If74faf2b21d564fa23253ea2eb5378457f055735
2020-03-12 15:04:16 -04:00

24 lines
517 B
YAML

- name: Install apt key
become: yes
apt_key:
url: "https://packages.cloud.google.com/apt/doc/apt-key.gpg"
state: present
- name: Add kubernetes repo
become: yes
apt_repository:
repo: deb http://apt.kubernetes.io/ kubernetes-xenial main
state: present
- name: Install kubernetes packages and dependencies
become: yes
apt:
name:
- kubectl
- liblz4-tool
update_cache: yes
- name: Run cluster tasks
include_tasks: minikube.yaml
when: install_kubernetes_with_cluster