Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7 are removed. Conditional tasks, ternary operators and variables are simplified where possible OS specific variables files are generalised where possible Change-Id: I55037805e59cb6d727593f467e98568a4c030e74
This commit is contained in:
parent
1ba9f5ea17
commit
f1132fcc47
@ -20,16 +20,16 @@ galaxy_info:
|
|||||||
license: Apache2
|
license: Apache2
|
||||||
min_ansible_version: 2.0
|
min_ansible_version: 2.0
|
||||||
platforms:
|
platforms:
|
||||||
|
- name: Debian
|
||||||
|
versions:
|
||||||
|
- buster
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
- xenial
|
|
||||||
- bionic
|
- bionic
|
||||||
|
- focal
|
||||||
- name: EL
|
- name: EL
|
||||||
versions:
|
versions:
|
||||||
- 7
|
- 8
|
||||||
- name: opensuse
|
|
||||||
versions:
|
|
||||||
- 15
|
|
||||||
categories:
|
categories:
|
||||||
- systemd
|
- systemd
|
||||||
- development
|
- development
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
- name: Install the EPEL repository
|
- name: Install the EPEL repository
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: epel-systemd_mounts
|
name: epel-systemd_mounts
|
||||||
baseurl: "{{ systemd_centos_epel_mirror ~ '/' ~ ansible_facts['distribution_major_version'] ~ (ansible_facts['distribution_major_version'] is version('8', '>=')) | ternary('/Everything/', '/') ~ ansible_facts['architecture'] }}"
|
baseurl: "{{ systemd_centos_epel_mirror ~ '/' ~ ansible_facts['distribution_major_version'] ~ '/Everything/' ~ ansible_facts['architecture'] }}"
|
||||||
description: "Extra Packages for Enterprise Linux {{ ansible_facts['distribution_major_version'] }} - $basearch"
|
description: "Extra Packages for Enterprise Linux {{ ansible_facts['distribution_major_version'] }} - $basearch"
|
||||||
gpgcheck: yes
|
gpgcheck: yes
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
@ -81,4 +81,3 @@
|
|||||||
ubuntu: "nfs-kernel-server"
|
ubuntu: "nfs-kernel-server"
|
||||||
debian: "nfs-kernel-server"
|
debian: "nfs-kernel-server"
|
||||||
centos: "nfs-utils"
|
centos: "nfs-utils"
|
||||||
opensuse: "nfs-kernel-server"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user