Koschei: install repos before installing packages
This commit is contained in:
parent
62afc88027
commit
607afb2c77
1 changed files with 9 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue