summaryrefslogtreecommitdiffstats
path: root/roles/pdc
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2016-02-08 14:18:55 +0000
committerRalph Bean <rbean@redhat.com>2016-02-08 14:19:00 +0000
commitea257d6818989b6e2ed04648676bf244c517a9b4 (patch)
treeb196c0d4d16c26de2b79dbd5acde2575e3647410 /roles/pdc
parentaea99d716e9d14aedc9ddf266bba8f4c6493036b (diff)
downloadansible-ea257d6818989b6e2ed04648676bf244c517a9b4.tar.gz
ansible-ea257d6818989b6e2ed04648676bf244c517a9b4.tar.xz
ansible-ea257d6818989b6e2ed04648676bf244c517a9b4.zip
Remove patternfly copr repo. This is in the infra repo now.
Diffstat (limited to 'roles/pdc')
-rw-r--r--roles/pdc/frontend/files/patternfly-patternfly1-epel-7.repo8
-rw-r--r--roles/pdc/frontend/tasks/main.yml17
2 files changed, 6 insertions, 19 deletions
diff --git a/roles/pdc/frontend/files/patternfly-patternfly1-epel-7.repo b/roles/pdc/frontend/files/patternfly-patternfly1-epel-7.repo
deleted file mode 100644
index 160ef1b2d..000000000
--- a/roles/pdc/frontend/files/patternfly-patternfly1-epel-7.repo
+++ /dev/null
@@ -1,8 +0,0 @@
-[patternfly-patternfly1]
-name=Copr repo for patternfly1 owned by patternfly
-baseurl=https://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/epel-7-$basearch/
-skip_if_unavailable=True
-gpgcheck=1
-gpgkey=https://copr-be.cloud.fedoraproject.org/results/patternfly/patternfly1/pubkey.gpg
-enabled=1
-enabled_metadata=1
diff --git a/roles/pdc/frontend/tasks/main.yml b/roles/pdc/frontend/tasks/main.yml
index a885e28e4..e522b80f4 100644
--- a/roles/pdc/frontend/tasks/main.yml
+++ b/roles/pdc/frontend/tasks/main.yml
@@ -1,4 +1,3 @@
-
- name: setup the PDC copr repo
copy: >
src="sochotni-pdc-test-epel-7.repo"
@@ -9,16 +8,6 @@
tags:
- pdc
-- name: setup the patternfly copr repo
- copy: >
- src="patternfly-patternfly1-epel-7.repo"
- dest="/etc/yum.repos.d/patternfly-patternfly1-epel-7.repo"
- owner=root
- group=root
- mode=0644
- tags:
- - pdc
-
- name: lastly, add a copr repo for extra deps of PDC.
copy: >
src="ralph-pdc-deps-epel-7.repo"
@@ -29,6 +18,12 @@
tags:
- pdc
+- name: remove some old copr repos for things now in the infra repo.
+ file: dest="/etc/yum.repos.d/{{item}}" state=absent
+ with_items:
+ - patternfly-patternfly1-epel-7.repo
+ tags: pdc
+
- name: install needed packages
yum: pkg={{ item }} state=present
with_items: