mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-19 20:20:10 -03:30
bootstrap-os: match on os-release ID / VARIANT_ID (#7269)
This fixes deployment with CentOS 8 Streams and make detection more reliable Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
This commit is contained in:
committed by
GitHub
parent
de1d9df787
commit
95b329b64d
@@ -51,20 +51,20 @@
|
||||
# This command should always run, even in check mode
|
||||
check_mode: false
|
||||
when:
|
||||
- '"bionic" in os_release.stdout'
|
||||
- '''UBUNTU_CODENAME=bionic'' in os_release.stdout_lines'
|
||||
|
||||
- name: Change Network Name Resolution configuration
|
||||
raw: sed -i 's/^DNSSEC=yes/DNSSEC=allow-downgrade/g' /etc/systemd/resolved.conf
|
||||
become: true
|
||||
when:
|
||||
- '"bionic" in os_release.stdout'
|
||||
- '''UBUNTU_CODENAME=bionic'' in os_release.stdout_lines'
|
||||
- need_dnssec_allow_downgrade.rc
|
||||
|
||||
- name: Restart systemd-resolved service
|
||||
raw: systemctl restart systemd-resolved
|
||||
become: true
|
||||
when:
|
||||
- '"bionic" in os_release.stdout'
|
||||
- '''UBUNTU_CODENAME=bionic'' in os_release.stdout_lines'
|
||||
- need_dnssec_allow_downgrade.rc
|
||||
|
||||
- name: Install python3
|
||||
|
||||
Reference in New Issue
Block a user