mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-23 19:06:33 +01:00
14 lines
309 B
YAML
14 lines
309 B
YAML
|
---
|
||
|
- name: Add Kubernetes GPG key.
|
||
|
rpm_key:
|
||
|
key: https://packages.cloud.google.com/yum/doc/yum-key.gpg
|
||
|
state: present
|
||
|
|
||
|
- name: Add Kubernetes repository.
|
||
|
get_url:
|
||
|
url: "{{ kubernetes_yum_repo_url }}"
|
||
|
dest: '/etc/yum.repos.d/kubernetes.repo'
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0644
|