Reinstall koschei-backend-stg as Fedora 27
This commit is contained in:
parent
6bb4ec0acf
commit
6c884c55c6
2 changed files with 14 additions and 4 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-fedora-26
|
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-27
|
||||||
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/26/Server/x86_64/os/
|
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/27/Server/x86_64/os/
|
||||||
|
|
||||||
volgroup: /dev/xenGuests
|
volgroup: /dev/xenGuests
|
||||||
eth0_ip: 10.5.125.49
|
eth0_ip: 10.5.125.49
|
||||||
|
|
|
@ -8,10 +8,20 @@
|
||||||
- packages
|
- packages
|
||||||
- yumrepos
|
- yumrepos
|
||||||
|
|
||||||
- name: Install common packages
|
- name: Install common packages (Fedora >= 27)
|
||||||
package: name={{ item }} state=present
|
package: name={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- python-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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue