Reinstall Koschei on Fedora 27

This commit is contained in:
Mikolaj Izdebski 2018-02-08 12:25:32 +01:00
parent cc6ca2352a
commit d5db6392b4
3 changed files with 3 additions and 17 deletions

View file

@ -3,8 +3,8 @@ nm: 255.255.255.0
gw: 10.5.125.254
dns: 10.5.126.21
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-27
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/27/Server/x86_64/os/
volgroup: /dev/vg_guests
eth0_ip: 10.5.126.140

View file

@ -8,20 +8,10 @@
- packages
- yumrepos
- name: Install common packages (Fedora >= 27)
- name: Install common packages
package: name={{ item }} state=present
with_items:
- python3-memcached
when: ansible_distribution_major_version|int > 26
tags:
- koschei
- packages
- name: Install common packages (not Fedora or Fedora <= 26)
package: name={{ item }} state=present
with_items:
- python-memcached
when: ansible_distribution_major_version|int < 27
tags:
- koschei
- packages

View file

@ -1,10 +1,6 @@
[msimacek-koschei]
name=Copr repo for koschei owned by msimacek
{% if is_fedora is defined %}
baseurl=https://copr-be.cloud.fedoraproject.org/results/msimacek/koschei/fedora-$releasever-$basearch/
{% else %}
baseurl=https://copr-be.cloud.fedoraproject.org/results/msimacek/koschei/epel-7-$basearch/
{% endif %}
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/msimacek/koschei/pubkey.gpg