Drop seperate yum clean all calls.
This commit is contained in:
parent
6617fcdc95
commit
4cec7a28d7
10 changed files with 9 additions and 63 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue