From 7852834ad52af40420817a409a7b5a7281fb9fcb Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 21 Jun 2013 19:21:17 +0000 Subject: [PATCH] Add the infrastructure-testing.repo to ansible. --- files/common/infrastructure-testing.repo | 7 +++++++ tasks/yumrepos.yml | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 files/common/infrastructure-testing.repo diff --git a/files/common/infrastructure-testing.repo b/files/common/infrastructure-testing.repo new file mode 100644 index 0000000000..501bc6502e --- /dev/null +++ b/files/common/infrastructure-testing.repo @@ -0,0 +1,7 @@ +[infrastructure-testing] +name=Extras Packages from Fedora Infrastructure $releasever - $basearch - Testing +baseurl=http://infrastructure.fedoraproject.org/repo/testing/$releasever/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=http://infrastructure.fedoraproject.org/repo/RPM-GPG-KEY-INFRASTRUCTURE + diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index a583c288fb..e8ad472b41 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -11,7 +11,10 @@ - packages - name: add infrastructure repo - action: copy src=$files/common/infrastructure.repo dest=/etc/yum.repos.d/infrastructure.repo + action: copy src=$files/common/$item dest=/etc/yum.repos.d/$item + with_items: + - infrastructure.repo + - infrastructure-testing.repo tags: - config - packages