copr builders: install recent mock
this is just for bootstrap we need mock-1.2.10 which is not in secondary yet and because it is noarch we can get it from i386 koji
This commit is contained in:
parent
051d42b339
commit
c74cd92293
1 changed files with 19 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
- name: provision builder
|
||||
hosts: builder_temp_group
|
||||
gather_facts: False
|
||||
gather_facts: True
|
||||
user: root
|
||||
|
||||
vars:
|
||||
|
@ -38,3 +38,21 @@
|
|||
|
||||
tasks:
|
||||
- include: "provision_builder_tasks.yml"
|
||||
|
||||
- get_url: url=https://kojipkgs.fedoraproject.org//packages/mock/1.2.10/1.fc21/noarch/mock-1.2.10-1.fc21.noarch.rpm dest=/tmp/
|
||||
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version == 21
|
||||
|
||||
- yum: state=present name=/tmp/mock-1.2.10-1.fc21.noarch.rpm
|
||||
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version == 21
|
||||
|
||||
- get_url: url=https://kojipkgs.fedoraproject.org//packages/mock/1.2.10/1.fc22/noarch/mock-1.2.10-1.fc22.noarch.rpm dest=/tmp/
|
||||
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version == 22
|
||||
|
||||
- yum: state=present name=/tmp/mock-1.2.10-1.fc22.noarch.rpm
|
||||
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version == 22
|
||||
|
||||
- get_url: url=https://kojipkgs.fedoraproject.org//packages/mock/1.2.10/1.fc23/noarch/mock-1.2.10-1.fc23.noarch.rpm dest=/tmp/
|
||||
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version == 23
|
||||
|
||||
- yum: state=present name=/tmp/mock-1.2.10-1.fc22.noarch.rpm
|
||||
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version == 23
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue