Reinstall Koschei on Fedora 27
This commit is contained in:
parent
cc6ca2352a
commit
d5db6392b4
3 changed files with 3 additions and 17 deletions
|
@ -3,8 +3,8 @@ nm: 255.255.255.0
|
||||||
gw: 10.5.125.254
|
gw: 10.5.125.254
|
||||||
dns: 10.5.126.21
|
dns: 10.5.126.21
|
||||||
|
|
||||||
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7
|
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-27
|
||||||
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/
|
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/27/Server/x86_64/os/
|
||||||
|
|
||||||
volgroup: /dev/vg_guests
|
volgroup: /dev/vg_guests
|
||||||
eth0_ip: 10.5.126.140
|
eth0_ip: 10.5.126.140
|
||||||
|
|
|
@ -8,20 +8,10 @@
|
||||||
- packages
|
- packages
|
||||||
- yumrepos
|
- yumrepos
|
||||||
|
|
||||||
- name: Install common packages (Fedora >= 27)
|
- name: Install common packages
|
||||||
package: name={{ item }} state=present
|
package: name={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- python3-memcached
|
- 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:
|
tags:
|
||||||
- koschei
|
- koschei
|
||||||
- packages
|
- packages
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
[msimacek-koschei]
|
[msimacek-koschei]
|
||||||
name=Copr repo for koschei owned by msimacek
|
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/
|
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
|
skip_if_unavailable=True
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=https://copr-be.cloud.fedoraproject.org/results/msimacek/koschei/pubkey.gpg
|
gpgkey=https://copr-be.cloud.fedoraproject.org/results/msimacek/koschei/pubkey.gpg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue