Merge "Follow up to "Run bifrost on CentOS Stream 9""

This commit is contained in:
Zuul 2022-01-17 14:43:20 +00:00 committed by Gerrit Code Review
commit 78f9aca4f9
4 changed files with 14 additions and 11 deletions

View File

@ -1,6 +1,6 @@
# NOTE(rpittau): the EPEL repository for centos 9 stream should be
# epel-next but it's not ready yet
epel-release [(platform:centos !platform:centos-9) (platform:rhel !platform:centos-9)]
epel-release [(platform:centos !platform:centos-9) (platform:redhat !platform:centos-9)]
gcc
git
libffi-devel [platform:redhat platform:suse]

View File

@ -14,10 +14,11 @@ Supported operating systems
Full support (fully tested in the CI, no known or potential issues):
* CentOS Stream 8
* CentOS Stream 9
* CentOS Stream 8 (deprecated but will keep running normal CI until Z cycle)
.. note::
RHEL 8 and regular CentOS 8 are assumed to work but not tested explicitly.
RHEL is assumed to work but not tested explicitly.
* Ubuntu 20.04 "Focal"
* Debian 11 "Bullseye"

View File

@ -55,13 +55,11 @@
shell: ssh-keyscan "{{ ipv4_address }}" >> "{{ ansible_env.HOME }}/.ssh/known_hosts"
when: ipv4_address is defined
- name: "Allow ssh-rsa algorithm for CentOS Stream 9"
block:
- name: "Add ssh-rsa algorithm to ssh config"
shell: echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> ~/.ssh/config
- name: "Set correct permissions for ssh config"
file:
path: ~/.ssh/config
mode: '0600'
lineinfile:
path: ~/.ssh/config
line: PubkeyAcceptedKeyTypes +ssh-rsa
create: yes
mode: '0600'
when:
- ansible_distribution == "CentOS"
- ansible_distribution_version|int >= 9

View File

@ -1,4 +1,8 @@
---
other:
features:
- |
Adds basic support for running bifrost on CentOS Stream 9.
deprecations:
- |
CentOS Stream 8 and Python 3.6 support is now deprecated and will be
best-effort starting with the Z cycle.