Koschei update: enable testing repo during repodata refresh

This commit is contained in:
Mikolaj Izdebski 2016-05-20 12:49:17 +00:00
parent ed0db5ecf8
commit cf9be64ded

View file

@ -18,9 +18,9 @@
when: env != 'staging' when: env != 'staging'
tasks: tasks:
- name: clean dnf metadata - name: clean dnf metadata
command: dnf clean all command: dnf {%if env == 'staging'%}--enablerepo msimacek-koschei{%endif%} clean all
- name: create dnf metadata cache - name: create dnf metadata cache
command: dnf makecache command: dnf {%if env == 'staging'%}--enablerepo msimacek-koschei{%endif%} makecache
- name: stop services - name: stop services
service: name="{{ item }}" state=stopped service: name="{{ item }}" state=stopped
with_items: with_items:
@ -63,9 +63,9 @@
when: env != 'staging' when: env != 'staging'
tasks: tasks:
- name: clean yum metadata - name: clean yum metadata
command: yum clean all command: yum {%if env == 'staging'%}--enablerepo msimacek-koschei{%endif%} clean all
- name: create yum metadata cache - name: create yum metadata cache
command: yum makecache command: yum {%if env == 'staging'%}--enablerepo msimacek-koschei{%endif%} makecache
- name: stop httpd - name: stop httpd
service: name="httpd" state=stopped service: name="httpd" state=stopped
- name: upgrade koschei from testing repo - name: upgrade koschei from testing repo