Koschei: install repos before installing packages

This commit is contained in:
Mikolaj Izdebski 2015-10-02 15:46:51 +00:00
parent 62afc88027
commit 607afb2c77

View file

@ -1,3 +1,12 @@
- name: Install jenkins repo on stg
copy: src=jenkins.repo dest=/etc/yum.repos.d/jenkins.repo
when: env == "staging"
tags:
- koschei
- config
- packages
- yumrepos
- name: install packages
yum: name={{ item }} state=installed
with_items:
@ -108,12 +117,6 @@
- koschei
- config
- name: Install jenkins repo on stg
copy: src=jenkins.repo dest=/etc/yum.repos.d/jenkins.repo
when: env == "staging"
tags:
- koschei
- name: access to postgres for scripts
template: src=pgpass.j2 dest=/var/cache/koschei/.pgpass
owner=koschei group=koschei mode=0600