Clean up some more state=latest and old f21 logic thats no longer needed.

This commit is contained in:
Kevin Fenzi 2016-01-05 19:30:08 +00:00
parent 7eaac68686
commit de43425fda
5 changed files with 5 additions and 35 deletions

View file

@ -1,6 +1,5 @@
# sigul needs to be the latest package from the infrastructure builder repo - name: install dependencies
- name: install dependencies (latest versions) yum: state=present pkg={{ item }}
yum: state=latest pkg={{ item }}
with_items: with_items:
- sigul - sigul
tags: tags:

View file

@ -8,19 +8,7 @@
- fedmsg - fedmsg
- python-paramiko - python-paramiko
- python-fedimg - python-fedimg
tags:
- fedimg
- name: except for python-libcloud, we need the super latest version
yum: pkg={{ item }} state=latest enablerepo=epel-testing
with_items:
- python-libcloud - python-libcloud
tags:
- fedimg
- name: install latest fedimg
yum: pkg={{ item }} state=latest
with_items:
- python-fedimg - python-fedimg
tags: tags:
- fedimg - fedimg

View file

@ -123,7 +123,7 @@
tags: mailman tags: mailman
- name: install the mailman3 fedmsg plugin rpm - name: install the mailman3 fedmsg plugin rpm
yum: pkg=mailman3-fedmsg-plugin state=latest yum: pkg=mailman3-fedmsg-plugin
notify: restart mailman3 notify: restart mailman3
when: ansible_distribution == 'RedHat' when: ansible_distribution == 'RedHat'
tags: mailman tags: mailman

View file

@ -1,23 +1,6 @@
--- ---
- name: ensure packages required for buildslave are installed (yum)
yum: name={{ item }} state=latest enablerepo={{ extra_enablerepos }}
with_items:
- buildbot-slave
- git
- rpmlint
- koji
- bodhi-client
- python-virtualenv
- gcc
- libcurl-devel
- rpm-build
- pylint
- python-pep8
- moreutils
when: ansible_distribution_major_version|int < 22
- name: ensure packages required for buildslave are installed (dnf) - name: ensure packages required for buildslave are installed (dnf)
dnf: name={{ item }} state=latest enablerepo={{ extra_enablerepos }} dnf: name={{ item }} state=present enablerepo={{ extra_enablerepos }}
with_items: with_items:
- buildbot-slave - buildbot-slave
- git - git

View file

@ -1,6 +1,6 @@
--- ---
- name: ensure packages required for testdays are installed - name: ensure packages required for testdays are installed
action: yum name={{ item }} state=latest action: yum name={{ item }} state=present
with_items: with_items:
- testdays - testdays
- mod_wsgi - mod_wsgi