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: I58b9cec20349c722631e5934c44efb54153daab7
This commit is contained in:
parent
3fcf510959
commit
60938dca24
@ -22,16 +22,14 @@ galaxy_info:
|
|||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
versions:
|
||||||
- stretch
|
- buster
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
- bionic
|
- bionic
|
||||||
|
- focal
|
||||||
- name: EL
|
- name: EL
|
||||||
versions:
|
versions:
|
||||||
- 7
|
- 8
|
||||||
- name: opensuse
|
|
||||||
versions:
|
|
||||||
- 15
|
|
||||||
categories:
|
categories:
|
||||||
- cloud
|
- cloud
|
||||||
- python
|
- python
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
package:
|
package:
|
||||||
name: "{{ placement_package_list }}"
|
name: "{{ placement_package_list }}"
|
||||||
state: "{{ placement_package_state }}"
|
state: "{{ placement_package_state }}"
|
||||||
update_cache: "{{ (ansible_facts['pkg_mgr'] in ['apt', 'zypper']) | ternary('yes', omit) }}"
|
update_cache: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary('yes', omit) }}"
|
||||||
cache_valid_time: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary(cache_timeout, omit) }}"
|
cache_valid_time: "{{ (ansible_facts['pkg_mgr'] == 'apt') | ternary(cache_timeout, omit) }}"
|
||||||
register: install_packages
|
register: install_packages
|
||||||
until: install_packages is success
|
until: install_packages is success
|
||||||
|
@ -21,4 +21,4 @@ placement_devel_distro_packages:
|
|||||||
|
|
||||||
placement_service_distro_packages:
|
placement_service_distro_packages:
|
||||||
- openstack-placement-api
|
- openstack-placement-api
|
||||||
- "{{ ansible_facts['distribution_major_version'] is version('8', '<') | ternary('systemd-python', 'python3-systemd') }}"
|
- python3-systemd
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
---
|
|
||||||
# Copyright 2019, VEXXHOST, Inc.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
placement_distro_packages:
|
|
||||||
- libxml2
|
|
||||||
|
|
||||||
placement_devel_distro_packages:
|
|
||||||
- systemd-devel
|
|
||||||
|
|
||||||
placement_service_distro_packages:
|
|
||||||
- openstack-placement-api
|
|
||||||
- python3-systemd
|
|
Loading…
Reference in New Issue
Block a user