mbs: yum -> package #8
1 changed files with 30 additions and 24 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue