mbs: yum -> package

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2019-06-11 16:09:15 +01:00 committed by pingou
parent 771df74075
commit ded54be2fb

View file

@ -14,20 +14,23 @@
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no check_mode: no
- name: yum update mbs packages from main repo - name: update mbs packages from main repo
yum: name={{item}} state=latest package:
name:
- module-build-service
- libmodulemd1
- python2-solv
state: latest
when: not testing when: not testing
with_items: - name: update mbs packages from testing repo
- module-build-service yum:
- libmodulemd1 name:
- python2-solv - module-build-service
- name: yum update mbs packages from testing repo - libmodulemd1
yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg - python2-solv
state: latest
enablerepo: infrastructure-tags-stg
when: testing when: testing
with_items:
- module-build-service
- libmodulemd1
- python2-solv
- name: push packages out to backend - name: push packages out to backend
hosts: mbs_backend:mbs_backend_stg hosts: mbs_backend:mbs_backend_stg
@ -45,20 +48,23 @@
- name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%} - name: clean all metadata {%if testing%}(with infrastructure-testing on){%endif%}
command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%} command: yum clean all {%if testing%} --enablerepo=infrastructure-tags-stg {%endif%}
check_mode: no check_mode: no
- name: yum update mbs packages from main repo - name: update mbs packages from main repo
yum: name={{item}} state=latest package:
name:
- module-build-service
- libmodulemd1
- python2-solv
state: latest
when: not testing when: not testing
with_items: - name: update mbs packages from testing repo
- module-build-service yum:
- libmodulemd1 name:
- python2-solv - module-build-service
- name: yum update mbs packages from testing repo - libmodulemd1
yum: name={{item}} state=latest enablerepo=infrastructure-tags-stg - python2-solv
state: latest
enablerepo: infrastructure-tags-stg
when: testing when: testing
with_items:
- module-build-service
- libmodulemd1
- python2-solv
- name: verify the frontend and stop it - name: verify the frontend and stop it
hosts: mbs_frontend:mbs_frontend_stg hosts: mbs_frontend:mbs_frontend_stg