[Ansible] Adding new CentOS repo for newest Kubernetes packages.

This is the game we play until Kubernetes GA packages are out.
This commit is contained in:
Jeffrey Bean 2015-07-02 12:02:56 -07:00
parent 05ce0472e9
commit f7b5d0db61
4 changed files with 16 additions and 5 deletions

View File

@ -0,0 +1,5 @@
[virt7-docker-common-candidate]
name=virt7-docker-common-candidate
baseurl=http://cbs.centos.org/repos/virt7-docker-common-candidate/x86_64/os/
enabled=0
gpgcheck=0

View File

@ -1,3 +1,6 @@
---
- name: CentOS | Install Testing centos7 repo for new tool versions
- name: CentOS | Install Testing centos7 repo
copy: src=virt7-testing.repo dest=/etc/yum.repos.d/virt7-testing.repo
- name: CentOS | Install docker-common-candidate centos7 repo
copy: src=virt7-docker-common-candidate.repo dest=/etc/yum.repos.d/virt7-docker-common-candidate.repo

View File

@ -1,8 +1,8 @@
---
- name: CentOS | Install kubernetes CentOS style
- name: CentOS | Install kubernetes master
yum:
pkg=kubernetes-master
state=latest
enablerepo=virt7-testing
enablerepo=virt7-docker-common-candidate
notify:
- restart daemons

View File

@ -1,5 +1,8 @@
---
- name: CentOS | Install kubernetes CentOS style
yum: pkg=kubernetes-node state=latest enablerepo=virt7-testing
- name: CentOS | Install kubernetes node
yum:
pkg=kubernetes-node
state=latest
enablerepo=virt7-docker-common-candidate
notify:
- restart daemons