summaryrefslogtreecommitdiff
path: root/roles/kubernetes/base/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-03 04:31:11 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-03 04:31:11 +0200
commit6410c78efc00ae9912add317bb4827a52852a77e (patch)
treed17e2f5f52dfdb493ebbfa028e406d10836a982f /roles/kubernetes/base/tasks/main.yml
parentch-equinox-ws: add info-beamer (diff)
move apt-repo/kubernetes out of kubernetes base role
Diffstat (limited to 'roles/kubernetes/base/tasks/main.yml')
-rw-r--r--roles/kubernetes/base/tasks/main.yml23
1 files changed, 3 insertions, 20 deletions
diff --git a/roles/kubernetes/base/tasks/main.yml b/roles/kubernetes/base/tasks/main.yml
index 28d6a62e..721bc730 100644
--- a/roles/kubernetes/base/tasks/main.yml
+++ b/roles/kubernetes/base/tasks/main.yml
@@ -10,26 +10,9 @@
when: kubelet_zfs is defined
import_tasks: zfs.yml
-- name: install apt https transport
- apt:
- name: apt-transport-https
- state: present
-
-- name: add repository key
- copy:
- src: apt-key.gpg
- dest: /etc/apt/trusted.gpg.d/kubernetes.gpg
- notify: update apt cache
-
-- name: add repository entry
- copy:
- content: |
- deb https://apt.kubernetes.io/ kubernetes-xenial main
- dest: /etc/apt/sources.list.d/kubernetes.list
- notify: update apt cache
-
-- name: update apt cache
- meta: flush_handlers
+- name: add debian repository
+ include_role:
+ name: apt-repo/kubernetes
- name: install kubelet and common packages
apt: