mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 21:45:39 +08:00
Koschei update: enable testing repo during repodata refresh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user