retrace: try to add f27 repos

This commit is contained in:
Miroslav Suchý 2017-10-05 15:01:06 +02:00
parent 466f5c184d
commit 6eb42525fb
2 changed files with 30 additions and 0 deletions

View file

@ -14,3 +14,15 @@ nagios_Check_Services:
dhcpd: false
httpd: false
swap: false
faf_repos:
- { name: 'fedora-27-updates-testing-source',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/updates/testing/27/SRPMS/',
arch: 'source'
opsys: 'Fedora 27'
}
- { name: 'fedora-27-updates-source'
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/updates/27/SRPMS/'
arch: 'source'
opsys: 'Fedora 27'
}

View file

@ -61,5 +61,23 @@
line: ' MORE_SATYR = "https://github.com/abrt/satyr/"'
notify: restart httpd
- name: add repositories
command: faf repoadd {{ item.name }} yum {{ item.url }}
become: yes
become_user: faf
ignore_errors: yes
when: not devel
tags: add_repo
with_items: "{{ faf_repos }}"
- name: repoassign repositories
command: faf repoassign {{ item.name }} {{ item.opsys }} {{ item.arch }}
become: yes
become_user: faf
ignore_errors: yes
when: not devel
tags: add_repo
with_items: "{{ faf_repos }}"
- include: cron.yml
tags: cron