diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-05-03 04:31:11 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-05-03 04:31:11 +0200 |
commit | 6410c78efc00ae9912add317bb4827a52852a77e (patch) | |
tree | d17e2f5f52dfdb493ebbfa028e406d10836a982f /roles/kubernetes/base/tasks/main.yml | |
parent | ch-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.yml | 23 |
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: |