Combine debian and ubuntu vars, adding support for Ubuntu Noble

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/924474
Change-Id: I3d551c11a4b8fb25890f9db64ec6ec15be3a5240
This commit is contained in:
Jonathan Rosser 2024-07-17 17:41:29 +01:00
parent 3eccf224d6
commit a51f8b347f
2 changed files with 3 additions and 30 deletions

View File

@ -18,7 +18,9 @@ cache_timeout: 600
haproxy_distro_packages:
- haproxy
- "{{ (ansible_facts['distribution_release'] == 'bookworm') | ternary('netcat-openbsd', 'netcat') }}" # Used for the Ansible haproxy module
- "{{ (ansible_facts['distribution_release'] == 'bookworm' or
ansible_facts['distribution_release'] == 'noble')
| ternary('netcat-openbsd', 'netcat') }}" # Used for the Ansible haproxy module
- psmisc
- vim-haproxy

View File

@ -1,29 +0,0 @@
---
# Copyright 2016, Rackspace US, 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.
## APT Cache options
cache_timeout: 600
haproxy_distro_packages:
- haproxy
- netcat # Used for the Ansible haproxy module
- psmisc
- vim-haproxy
haproxy_distro_certbot_packages:
- certbot
# Set system CA store which can be used to verify backends
haproxy_system_ca: /etc/ssl/certs/ca-certificates.crt