Drop seperate yum clean all calls.

This commit is contained in:
Kevin Fenzi 2016-06-25 22:09:52 +00:00
parent 6617fcdc95
commit 4cec7a28d7
10 changed files with 9 additions and 63 deletions

View file

@ -1,14 +1,8 @@
--- ---
# Configuration for the anitya webapp # Configuration for the anitya webapp
- name: clean yum metadata
command: yum clean all
tags:
- packages
- anitya_backend
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present yum: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- anitya - anitya
- python-psycopg2 - python-psycopg2

View file

@ -1,14 +1,8 @@
--- ---
# Configuration for the anitya webapp # Configuration for the anitya webapp
- name: clean yum metadata
command: yum clean all
tags:
- packages
- anitya_frontend
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present yum: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- anitya - anitya
- python-psycopg2 - python-psycopg2

View file

@ -30,9 +30,6 @@
- /var/lib/copr/jobs - /var/lib/copr/jobs
- /var/lib/copr/public_html/results - /var/lib/copr/public_html/results
- name: Umask results
command: /usr/bin/umask 0000 chdir=/var/lib/copr/public_html/results
- name: setup dirs there - name: setup dirs there
file: state=directory path="/home/copr/{{ item }}" owner=copr group=copr mode=0700 file: state=directory path="/home/copr/{{ item }}" owner=copr group=copr mode=0700
with_items: with_items:

View file

@ -1,13 +1,8 @@
--- ---
# Configuration for the gallery webapp # Configuration for the gallery webapp
- name: clean yum metadata
command: yum clean all
tags:
- packages
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present yum: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- gallery3 - gallery3
- gallery3-openid - gallery3-openid

View file

@ -1,14 +1,8 @@
--- ---
# Configuration for the ipsilon webapp # Configuration for the ipsilon webapp
- name: clean yum metadata
command: yum clean all
changed_when: False
tags:
- packages
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present yum: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- ipsilon - ipsilon
- ipsilon-authfas - ipsilon-authfas

View file

@ -1,14 +1,8 @@
--- ---
# Configuration for the kerneltest webapp # Configuration for the kerneltest webapp
- name: clean yum metadata
command: yum clean all
tags:
- packages
- kerneltest
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present yum: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- kerneltest - kerneltest
- python-psycopg2 - python-psycopg2

View file

@ -1,13 +1,8 @@
--- ---
# Configuration for the mirrormanager backend # Configuration for the mirrormanager backend
- name: clean yum metadata
command: yum clean all
tags:
- packages
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present yum: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- mirrormanager2-backend - mirrormanager2-backend
- mirrormanager2-statistics - mirrormanager2-statistics

View file

@ -1,13 +1,8 @@
--- ---
# Configuration for MirrorManager's crawler # Configuration for MirrorManager's crawler
- name: clean yum metadata
command: yum clean all
tags:
- packages
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present yum: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- mirrormanager2-crawler - mirrormanager2-crawler
- python-psycopg2 - python-psycopg2

View file

@ -1,14 +1,8 @@
--- ---
# tasklist for setting up the mirrormanager web application # tasklist for setting up the mirrormanager web application
- name: clean yum metadata
command: yum clean all
tags:
- mm2_frontend
- packages
- name: install needed packages - name: install needed packages
yum: pkg={{ item }} state=present yum: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- mirrormanager2 - mirrormanager2
- python-psycopg2 - python-psycopg2

View file

@ -1,14 +1,8 @@
--- ---
# Configuration for the fedocal webapp # Configuration for the fedocal webapp
- name: clean yum metadata
command: yum clean all
tags:
- packages
- repo2json
- name: Install necessary packages - name: Install necessary packages
yum: pkg={{ item }} state=present yum: pkg={{ item }} state=present update_cache=yes
with_items: with_items:
- python-sqlalchemy0.7 - python-sqlalchemy0.7
- pyliblzma - pyliblzma