retrace: add all f27 repos

This commit is contained in:
Miroslav Suchý 2017-10-09 12:44:44 +02:00
parent 4246eb2015
commit 3705a23915
2 changed files with 98 additions and 3 deletions

View file

@ -26,3 +26,98 @@ faf_repos:
arch: 'source',
opsys: 'Fedora 27'
}
- { name: 'fedora-27-armhfp-debug',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/development/27/Everything/armhfp/debug/tree/',
arch: 'armhfp',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-armhfp-testing-debug',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/updates/testing/27/armhfp/debug/',
arch: 'armhfp',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-armhfp-testing',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/updates/testing/27/armhfp/',
arch: 'armhfp',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-armhfp-updates-debug',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/updates/27/armhfp/debug/',
arch: 'armhfp',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-armhfp-updates',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/updates/27/armhfp/',
arch: 'armhfp',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-armhfp',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/development/27/Everything/armhfp/os/'
arch: 'armhfp',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-i386-debug',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora-secondary/development/27/Everything/i386/debug/tree/',
arch: 'i386',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-i386-testing-debug',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora-secondary/updates/testing/27/i386/debug/',
arch: 'i386',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-i386-testing',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora-secondary/updates/testing/27/i386/',
arch: 'i386',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-i386-updates-debug',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora-secondary/updates/27/i386/debug/',
arch: 'i386',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-i386-updates',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora-secondary/updates/27/i386/',
arch: 'i386',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-i386',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora-secondary/development/27/Everything/i386/os/',
arch: 'i386',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-source',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/development/27/Everything/source/tree/',
arch: 'source',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-x86_64',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/development/27/Everything/x86_64/os/',
arch: 'x86_64',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-x86_64-debug',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/development/27/Everything/x86_64/debug/tree/',
arch: 'x86_64',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-x86_64-testing-debug',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/updates/testing/27/x86_64/debug/',
arch: 'x86_64',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-x86_64-testing',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/updates/testing/27/x86_64/',
arch: 'x86_64',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-x86_64-updates-debug',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/updates/27/x86_64/debug/',
arch: 'x86_64',
opsys: 'Fedora 27',
}
- { name: 'fedora-27-x86_64-updates',
url: 'http://download01.phx2.fedoraproject.org/pub/fedora/linux/updates/27/x86_64/',
arch: 'x86_64',
opsys: 'Fedora 27',
}

View file

@ -61,9 +61,9 @@
line: ' MORE_SATYR = "https://github.com/abrt/satyr/"'
notify: restart httpd
# the magic with ! is that it return exit code 1 if ERROR is present in output
# the magic with ! is that it return exit code 1 if 'already defined' is not present in output
- name: add repositories
command: ! faf repoadd "{{ item.name }}" yum "{{ item.url }}" | grep ERROR
shell: ! faf repoadd "{{ item.name }}" yum "{{ item.url }}" 2>&1 | grep 'already defined'
become: yes
become_user: faf
ignore_errors: yes
@ -72,7 +72,7 @@
with_items: "{{ faf_repos }}"
- name: repoassign repositories
command: ! faf repoassign "{{ item.name }}" "{{ item.opsys }}" "{{ item.arch }}" | grep ERROR
shell: ! faf repoassign "{{ item.name }}" "{{ item.opsys }}" "{{ item.arch }}" 2>&1 | grep 'already defined'
become: yes
become_user: faf
ignore_errors: yes