From a2706324661bd8414386e14ce3232a673fd702e1 Mon Sep 17 00:00:00 2001 From: Kenichi Omichi Date: Tue, 12 Jul 2022 00:24:51 -0700 Subject: [PATCH] Allow "openSUSE Tumbleweed" to be run (#9072) (#9082) The commit 1ce2f04 tried to merge multiple SUSE OS checks including "openSUSE Leap" and "openSUSE Tumbleweed" into a single SUSE, but that was a perfect change. Then the commit c16efc9 tried to fix it for "openSUSE Leap", but it didn't take care of "openSUSE Tumbleweed". Then this adds "openSUSE Tumbleweed" to the OS check. --- roles/kubernetes/preinstall/tasks/0020-verify-settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml index 108da9261..a8ec71762 100644 --- a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml +++ b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml @@ -24,7 +24,7 @@ - name: Stop if unknown OS assert: - that: ansible_distribution in ['RedHat', 'CentOS', 'Fedora', 'Ubuntu', 'Debian', 'Flatcar', 'Flatcar Container Linux by Kinvolk', 'Suse', 'openSUSE Leap', 'ClearLinux', 'OracleLinux', 'AlmaLinux', 'Rocky', 'Amazon'] + that: ansible_distribution in ['RedHat', 'CentOS', 'Fedora', 'Ubuntu', 'Debian', 'Flatcar', 'Flatcar Container Linux by Kinvolk', 'Suse', 'openSUSE Leap', 'openSUSE Tumbleweed', 'ClearLinux', 'OracleLinux', 'AlmaLinux', 'Rocky', 'Amazon'] msg: "{{ ansible_distribution }} is not a known OS" when: not ignore_assert_errors