Koschei update: enable testing repo during repodata refresh
This commit is contained in:
parent
ed0db5ecf8
commit
cf9be64ded
1 changed files with 4 additions and 4 deletions
|
@ -18,9 +18,9 @@
|
|||
when: env != 'staging'
|
||||
tasks:
|
||||
- name: clean dnf metadata
|
||||
command: dnf clean all
|
||||
command: dnf {%if env == 'staging'%}--enablerepo msimacek-koschei{%endif%} clean all
|
||||
- name: create dnf metadata cache
|
||||
command: dnf makecache
|
||||
command: dnf {%if env == 'staging'%}--enablerepo msimacek-koschei{%endif%} makecache
|
||||
- name: stop services
|
||||
service: name="{{ item }}" state=stopped
|
||||
with_items:
|
||||
|
@ -63,9 +63,9 @@
|
|||
when: env != 'staging'
|
||||
tasks:
|
||||
- name: clean yum metadata
|
||||
command: yum clean all
|
||||
command: yum {%if env == 'staging'%}--enablerepo msimacek-koschei{%endif%} clean all
|
||||
- name: create yum metadata cache
|
||||
command: yum makecache
|
||||
command: yum {%if env == 'staging'%}--enablerepo msimacek-koschei{%endif%} makecache
|
||||
- name: stop httpd
|
||||
service: name="httpd" state=stopped
|
||||
- name: upgrade koschei from testing repo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue