openqa: enable openQA-stg COPR on staging hosts

This commit is contained in:
Adam Williamson 2016-01-15 17:33:30 -08:00
parent 1c36b33b89
commit 78755e7a36
2 changed files with 16 additions and 0 deletions

View file

@ -44,6 +44,14 @@
tags:
- config
- name: Install openQA staging repo if needed
command: "dnf -y copr enable adamwill/openQA-stg"
args:
creates: /etc/yum.repos.d/_copr_adamwill-openQA-stg.repo
when: deployment_type == "stg"
tags:
- config
- name: Install required packages
dnf: name={{ item }} state=present enablerepo=adamwill-openQA
with_items:

View file

@ -19,6 +19,14 @@
tags:
- config
- name: Install openQA staging repo if needed
command: "dnf -y copr enable adamwill/openQA-stg"
args:
creates: /etc/yum.repos.d/_copr_adamwill-openQA-stg.repo
when: deployment_type == "stg"
tags:
- config
- name: Install packages
dnf: name={{ item }} state=present enablerepo=adamwill-openQA
with_items: