Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (27 sloc) 786 Bytes
- name: Add apt-transport-https
apt:
name: 'apt-transport-https'
state: present
force: yes
- name: Add Hypriot Repo Key
apt_key: url=https://packagecloud.io/gpg.key
- name: Add Hypriot Repo
apt_repository: repo='deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ wheezy main' state=present
- name: Add Kubernetes Repo Key
apt_key: url=https://packages.cloud.google.com/apt/doc/apt-key.gpg
- name: Add Kubernetes Repo
apt_repository: repo='deb http://apt.kubernetes.io/ kubernetes-xenial main' state=present
- name: Update APT package cache
apt:
update_cache: yes
upgrade: safe
- name: Install Packages
apt:
name: "{{ item }}"
force: yes
state: present
with_items:
- kubelet
- kubeadm
- kubectl
- kubernetes-cni
You can’t perform that action at this time.