geerlingguy.ansible-role-ku.../tasks/setup-RedHat.yml
2018-05-09 09:19:11 -05:00

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